Ideally you want R 30 insulation in attic, baffles to keep an air gap between insulation and roof deck at soffits and soffit vents and adequate gable or roof vents to allow good air circulation.