Yeast infection

My ob told me to use monistat 7. Is it really safe to insert the cream directly in the vagina like she told me to?