Self defense & protection

How does someone break a curse or a spell if someone used a demon or any another spirit, entity or diety on you?