SOS. NEED ANSWERS

I had/have a yeast infection and I am using monistat 3 as treatment. It says that you aren't supposed to have sex while using the treatment. Today is the last day of treatment but I had protected sex. Am I safe? What could happen?