Why dose it hurt when I pee and y do I have pain just just tummy?

Pain on micturation. Can be from many things but a urinary tract infection is number one. See a doctor if you have fever or this symptom persists.