Stomach pain

I'm 28 weeks I've been having upper abdominal pain I'm feeling nauseous now and some swelling of my feet. I'm wondering if I should call my doctor or wait? I had a ultrasound done yesterday morning before the pain started and my baby is head down and facing my back