People are going to need more information than that in order to help.
What model Mac do you have?
How old is it?
Did you upgrade to 10.10 from a previous version of OSX(note OSX not iOS)?
Has iPhoto worked before?
What happens when you try to open iPhoto?