BLADDER INFECTION PLEASE HELP!

Her

So I went to the doctor today and they said I have a bladder infection. I did get some medicine prescribed, but I was wonder how long does it take to work? I plan on taking the medicine like they said, but I have a date in two days and don’t want to constantly have to get up to go to the restroom. Should I cancel? How long until I stop having to constantly pee? Please help me 😫