Yeast infection

This may be a stupid question, but I have a yeast infection (my first one ever). My doctor said to take OTC monistat 7 and the medication is a cream that you insert into your vagina like you would a tampon. It says to place it as far in as you can, but I’m so scared it’s going to hurt or get to the baby so I’m afraid to insert it too far. Any words of advice or encouragement are welcomed!