Why measure cholesterol after myocardial infarction, and when?

Why measure cholesterol after myocardial infarction, and when?