Worried

Al
I am 36 weeks pregnant and in having very very bad pressure on my cervix to where I can barely get up and it hurts to walk if I tell my doctor will she but me in bed rest or send me to the hospital?