Baby has stomach virus and scalp ringworm?

mojen
My poor baby girl has scalp ring worms and she's been taking medicine for a week and has about 5 weeks to go on the treatment. Wednesday however she started throwing up a little and today and last night she's been throwing up and she has diarrhea as well. She's also sluggish and doesn't really wanna eat anything so I gave her pedialyte. I took her to the doctor today and she says she seems to have a small virus when I thought maybe the medicine is too sensitive for her but.  I was wondering do I still give her the ringworm medicine today if she has a upset stomach. I'm not sure what to do and her doctor is now closed. I'm just a nervous wreck lol. The ring worm has spread to more parts of her scalp but the doctor said it's normal and now she's throwing up everything and not acting herself but she has no fever. So should I still give her the oral medicine for the ringworm?