Migraines

How did you get rid of bad migraines and headaches in early pregnancy since you cant take medicine that much??