Aimovig (erenumab-aooe) works by blocking the calcitonin gene-related peptide (CGRP) receptor binding site and function. This helps to prevent the development of a migraine headache and associated pain. CGRP is a protein thought to cause blood vessels to dilate and lead to inflammation and migraine headache pain.