31 weeks +5 days pregnant

Has anyone had constipation and diarrhea at the same time during pregnancy?

Like I have diarrhea pains and some stinging but I cant get the diarrhea out? If I push to hard my stomach tightens