Thanks for contacting healthcare magic. You have problem of headach that is because of more fluid loss from a body.find a cause behind loose motion.Food poisoning or any infection may cause loose motion. Consent a physician for further diagnosis. Proper history and investigation helpful for diagnosis. Try to rehydrate your body. I hope my guidance is helpful to you.. Take care. Thank you.