Question

I have a yeast infection and Im taking the vaginal cream that goes on the inside and i can't sleep how long do i need to stay laying for?