Masturbation can actually be good for your health, both mentally and physically. And it's pretty much the safest sex out there — there's no risk of getting pregnant or getting an STD. When you have an orgasm, your body releases endorphins, which are hormones that block pain and make you feel good.