To dream of experiencing pain is a projection of self-inflicting pain. You are blaming yourself due to an instance that had blown out of proportion or a problem that you are unable to control.
The dream of pain may also be a true manifestation of bodily pain or a health problem.
To dream of self-inflicted pain indicates some overwhelming problems in real life which you are trying to disconnect yourself from. You choose to bear the pain due to guilt.