Please help me

I have a question two days ago I began to severe pain my waist on the left side to the point that I could not sleep, but now it hurts my belly on the right side and also to go to the bathroom it hurts a little. I am 20 weeks I have to worry or go to the doctor. This is my first pregnancy and I'm afraid that something bad is happening