5 weeks pregnant bad pains at night

The last few nights I have woken up with bad stomach pain, last night had to do the toilet to help it, is it normal to be in so much pain and it’s only at night! Suffering from insomnia and waking up loads too 😩 praying everything is ok with baby