To get a distinction on an assessment, you need to make sure you meet all of the assessment criteria to a high standard - so the first thing to do is read through the assessment criteria to make sure you are meeting all of those. Then, when you get your first graded piece back, see how close/far you are from the distinction boundary. Let's say you fall short of a distinction, the advice is going to be different if you are within, say, 5% or much further off. That's when the feedback comes into play - where are you falling short and how will you address that. Distinction quality work is usually strong across the board - good attention to detail, plenty of evidence, good choice of illustrative examples, uses sources well and references them correctly, proof-read and written in an appropriate style, etc etc.