If someone is putting a curse on you in a dream then ask yourself if your waking life hasn’t been going well. You may be feeling like you have had a patch of bad luck lately.
If someone is cursing at you, as in insults, then ask yourself if you are actually mad at yourself about something. Have you been putting yourself down? If you are the one cursing in the dream then that is likely connected to something in real life you are angry about and your dream is a safe emotional release for this anger, but it is still likely to be an issue that needs to be addressed and corrected.