Help please!

I am almost 22 weeks pregnant and woke up with severe pain on my right side under my ribs and around to my back. After about an hour it finally eased up and now it’s just a dull ache/burning sensation that comes and goes. Also everything I eat goes straight through me! (TMI SORRY) My OB said to go to L&D to get checked out but I am at work until 5, anyone else have similar issues? Just trying to figure out what’s going on.