Er for kidney pain?

I’m 22 weeks and have had pain all day. Should I go to er or wait until my appointment in 2 weeks