To dream of pain represents difficulties or loss. It may also reflect emotional pain or humiliation. It’s common to experience pain in a dream after a relationship has ended.
Consider what body part you are experiencing pain in for additional symbolism.
Example: A girl dreamed of feeling her friends pain in her own body. In waking life she had been listening to her friend talk about her relationship troubles.