Feeling symptoms usually disappear after masturbation

Patient: Hi, since about three years I noticed sexual dysfunction and when I abstain from masturbating for just a week I feel strong headache, severe nervousness,depression,loss of appetite, sense of burning and redness in my eyes….and when I masturbate all these symptoms disappear just after ejaculation. so what could this mean? I became forcing myself to doing sex everyday just to keep myself away from these symptoms.