Pain or burning while urinating can be a sign of a several different medical conditions like a urinary tract infection ,a sexually transmitted disease, a prostate problem, such as a prostate infection or kidney stones. Drink plenty of water every day. You need a physical examination and tests like urine examination and ultrasound kidney ureter bladder. Treatment will depend on the underlying cause. I hope you find this information useful.
Best luck and regards!