Thanks for your query.Based on the facts that you have posted it appears that you have increased frequency of micturition and slight burning urination due to Urethritis
secondary to excessive masturbation
Take some antibiotics like Ciprofloxacin
twice daily along with urine alkaliser Citralka .
Avoid masturbation till you become al right completely.