does masturbation help headaches