help, hospital time?

just lost what looks like a huge piece of my mucus plug, im 38 weeks and got a membrane sweep yesterday. do i go to the hospital right now or am i supposed to wait?? not feeling contractions but my hips hurt like crazy.