Lowering "bad" cholesterol and triglycerides and raising "good" cholesterol decreases the risk of heart disease and helps prevent strokes and heart attacks Atorvastatin is used to other heart complications in people with type 2 diabetes, coronary heart disease or other risk factors.