If I took Monistat 3 and I put it up there and couple mins later I had to pee. Woud It still be effective or it doesn't work.

No problem. It will still work fine. You put the monistat in your vagina, presumably. You can't wash out the vagina by urinating. I assume you know that urine doesn't come out the vagina, but has an entirely different opening.