Should I go to the hospital

Trying to be strong I'm 40 weeks and few days lost mucus plug yesterday had bloody show today been having period cramping now having strong period cramps sporadically I'll be fine then I cramp kind of how my period is then I go number two because the cramps. So what should I do how do I know when to head in lol I don't want to do the same thing at the hospital when I can be in my house