When can I have sex???

I’ve recently had a yeast infection and I took Monistat 1 three days ago. My symptoms have completely gone away but I heard I have to wait 7 days before I can have sex again or it will make the condom ineffective. Is this true or is it safe for me to have sex again?