Enjolras
It is true. A lot of people will use sex as a way of coping with things or distracting themselves from them. I know I have in the past. It works for a little while, but depending what you're trying to forget, it doesn't always last for long.
In your case, if you've never done it before, you should be sure that you want to go this route before getting in too deep.