Yeast infection

I recently had a yeast infections and just finished the 3 day treatment yesterday. Is it safe to have sex today?