I don't think there is a 'rule', if you feel you need to go...go, I waited too long...and wham bamm thank you maam...hospital vacation.
If you've been having sx for more than two days, it could be a flare...so you take care of yourself and try to get more rest.
