I would say maybe two days… I wouldn’t wait if you are in pain tho you should go to the ER.
I ended having a partial small bowel obstruction from my endo and not being able to pass gas or have a bowel movement.. it’s life threatening so you should check it out for sure.