Antibiotics causing fungal infections isn't anything that is completely unheard of. Since your doctor already prescribed you fungillin lozenges, you should stick with that until it's done.
Your body is already weak and capable of having fungus, so if I was you, I'd go on a candida diet and take proboitics as well. Otherwise you never know if your candida will come back and it will always be in the back of your mind.