does masturbating help with headache