Yeast infection while pregnant

Daniela

I am 28 weeks pregnant and I have yeast Infection. My doctor have me a creams called terconazole and she gave me to take it for 7 days. Today was my last day to take the cream but I forgot. Can I still take it today or wait for tomorrow at night because is 12 am and it's late for me to take it. So I don't know if I should still take it or wait for tomorrow at night. Please help me I'm a little worried