Dear Christina I am sorry to hear about your daughter. I shall be grateful if you let me know what medication you have given to your daughter for the worm. It could be well related due to side effect or the medication also may be due to the worm infestation as the worms may have been disturbed by the medication. If her condition detoriates I insist to take her to the doctor for through examination. In the mean time give her plainty of fluid by mouth ( like electrol) and paracetamol
syrup for headache. I hope she gets speedy recovery. Kindest regards.