Botulinum toxin blocks nerve signals, reducing muscle contractions and preventing the onset of migraines.