does masturbating help headaches