Yest infection and monistat

So I currently have my legs up because for the past 4 days I’ve been itching like crazy!!! My vag burns so much. No weird discharge lately tho. I just figured I had a yest infection so I got the one day monistat treatment. I had it in for about 3 hours but not I feel like it looks like it’s all coming out. I feel like it’s coming out too soon. How long should it stay up there? Ive been chillin with my legs up against the wall for 15 min 🙃