Avoid adverse effects
If you can't avoid the adverse effects, mitgating them
Enhancing the onsite habitat
You need to make sure you take steps to avoid adverse effects and mitigate for habitats that are graded as "medium" or above (i.e. have a distinctiveness score of 4 or more).
If you're interested in reading more, the legal definition of the mitigation hierarchy is set out here.