It hurts to pee

So i went to the bathroom to do my business but when i peed it kind of stung.. Why did it sting..?