Can migraines be prevented?

Yes.  Preventive medications may reduce not only how many migraines you experience, but may also reduce the intensity and duration of your migraine attacks.  However, you may still have to use acute medications if you have a migraine.