What is going on?

Maggie
I just had my gallbladder out and my doctor says everything is fine, I had to be put on an antibiotic and so he also put me on a diflucan (however it's spelled) after my surgery I haven't been staying super hydrated and I'm wondering could that be the reason to why it's causing me pain when I urinate? (I probably only go 3 times a day)