HELP !! 40 weeks pregnant,

I been having stomach aches the past few days. Like when you don’t eat & your stomach starts hurting. Been feeling like pooping every time I go to the restroom. Every morning when I pee or poop I get menstrual cramps but they go away. Is this a sign of labor ??? Just curious on what’s happening,