Poop TMI

Ok so for the last 2 maybe 3 days, I had a stomach virus and awful diarrhea. I took two anti diarrhea pills and now I can't poop no matter how hard I try. What should I do?