Sharp pain

Just woke up and walking to the bathroom I had the worst cramping ever I had to hold the wall and now it’s settling but I’m getting a cold so when I cough I feel it a lot or when I move too much , anyone ever have this I don’t know what is normal or not but it really hurts I’m 23 weeks pregnant with my first