Atorvastatin may be used either in the primary prevention or secondary prevention of heart disease and stroke. Primary prevention means trying to prevent heart attacks or strokes before they happen. Secondary prevention means preventing them after you have already had an event. In either case, your doctor may prescribe Atorvastatin to lower either the primary or secondary risk of heart disease or stroke.