Someone once asked...

Why does it hurt when I pee?

Someone answered with kindness...

You may have an infection or inflammation. You can try this diy solution. https://groups.io/g/germkiller

Another soul answered...

I don't know. Maybe because you are peeing under too much pressure. But for real, go to a doctor when its serious.