Answer:
(when you get a girl)
Pain is a sensory trigger from your brain to represent the fact that something —or someone— could be hurting you. The pain will end once the thing causing it stops, as in a cause-effect scenario.
Mental health though, can be helped by finding happiness in life, like getting off of clash of clans and touching grass.