Medicines

Do you think that something can happen to the baby if I get pregnant and I have been taken medicine for migraine or natural drops to sleep?