If it burns or hurts only when you urinate, chances are you may have a urinary tract infection. It is easily cleared up with antibiotics.
There are other things, none lethal that I can think of that can cause that also. See a doctor and please do not be embarassed about it. Many before you have gone in there with the same exact complaint.
Good luck!