In pain

I’m 18weeks pregnant and 5 days today I started to get sharp pains on my right side that runs down my right leg and right lower back and on to my lower tummy to the left. Is this ligament pain or gas I’ve done #2 today Ik tmi so idk help?