The addition of an acetyl group to a sterol molecule. An acetyl group is CH3CO-, derived from acetic [ethanoic] acid.