does masturbating help with headaches