A migraine is a type of severe headache. Having a migraine can be very painful. But there are steps you can take to help prevent migraines.