Help please

Woke up at 2am to pee and had this when I wiped.. feel back asleep and now cramping since I woke up- I’m 39 weeks. Anyone had this? Please comment as very scared