Abdominal pain

Darzania
I am 20 weeks today and I ended up in the er yesterday because I was in excruciating pain. My Dr office closed at noon and when I called the Dr on call he told me to go to the er. The pain is in my abdominal area. The Dr at the er told me I had a bladder infection but that the baby was perfectly fine! He gave me an antibiotic and told me to drink lots of fluids. I woke up this am and it hurts to move walk, cough, sneeze etc...the majority of the pain is on my right side..........anyone else experiencing this awful pains?? I know about RLP but is this what I am feeling? How long will it last....this is my first pregnancy.