Burning sensation in urinary tract when urinating or mastburating. Is this serious?

Urinary tract . It is possible you are dealing with a urinary tract infection. Bacteria can gain access to the urethra and bladder resulting in the discomfort you feel. Certain conditions when untreated can become a serious medical hazard to your own health. I suggest you contact your physician for proper diagnosis and treatment.