Question

My four year old had a stomach bug. She vomited Saturday and Sunday. I took her to urgent care and the doctor prescribed her medicine to prevent the vomiting. I’ve been giving her pedialyte and she was able to hold down her breakfast this morning. My question is, do I continue giving her pedialyte or can I give her water and other juices? Thank you.