May be run of the mill constipation, but if you are saying you have not been able to pass stools properly for several days then I suggest you consider going to an emergency room as you may have a blocked intestine. I had this problem - it wasn't like normal constipation where you are straining to pass it, I felt I needed to go but there was nothing to try and push out, I was abdominally bloated with my intestines churning and churning and only passing thin ribbon like stools for days then nothing for 2 days - it was a blocked intestine - I went to the ER in the morning and they operated in the evening.
https://www.google.com/search?client=firefox-b-d&q=blocked+intestine
I used an Australian healthcare provider symptom diagnosis checker (which I now can't find again to post here, unfortunately) and it indicated I needed to go to an ER.