What should I do??

Currently 31 weeks pregnant & I've been feeling really sick today! Like fever sick... My head is killing me my feet are hurting so bad & my back ugh I just can't!😣 I laid down for a little bit & all of a sudden I felt this pop inside my stomach what could it be?? I have my next appointment on Thursday should I wait or call my doctor?