We all experience emotional pain at one time or another. There is a definite distinction and outcome between dealing with our pain in a healthy versus unhealthy way. Often times, people turn to unhealthy ways of coping with pain such as substance use, overeating, isolating themselves, etc.
It is really important that we learn healthy ways to cope with our emotions.
This article is a good start in helping you find ways to feel better even when you are hurting: