It's a normal body function. If you don't do it for a while, it might be painful when you do. That's normal. Some suggest that masturbating can increase the probability that you'll be able to orgasm after SRS. Bottom line, don't worry about it, but if you do worry, then ask your doctor.