Stomach pain

So far I woke up in the middle of the night needing to go to the restroom because my stomach hurt then, I woke up later again to use the restroom but I only peed a little bit. My lower stomach still hurts and I don’t know what it could be.