Yeast infection

Can i have sex with a condom while treating a yeast infection ? I dont have symptoms anymore but i have to take it for 7 days