How do I repair cracks in my plastered walls?

I need to know what to use to fill cracks in my plaster walls & ceilings. In the past what I used usually ended up pulling away from the crack. Please help would like to fix this before I repaint.

Thank you!

  3 answers