Help ??

Sincere
I'm 32 weeks pregnant and I can't sleep at all , I keep cramping & having to use the bathroom ... Like the #2 ?! it's been going on all night . why is this happening and what should I do ?