Pain 😩

i’m 36 weeks and i been have sharp pain in my lower right side when i walk it makes me hunch over should i go to the er tonight? i’m afraid something’s wrong.. also been losing my mucus plus slowly and had brown discharge twice.