yeast infection in first trimester

so turns out I have a yeast infection, have a 3-day prescription. how long after the last dose do I have to wait for intercourse? one question I forgot to ask my dr.