wait for a lull in the wind before setting up
assemble the poles and double check each and every join is fully joined and leave on ground til needed (and double check joins again later when erecting the poles)
peg the tent as soon as taken from bag (usually starting in the middle and then at the windy end but for a teepee, you may need to use a string line of correct length from a central peg to guide where to peg it out)
failure to peg the tent ASAP will likely result in wind blowing tent away or damaging it against sharp objects like tree branches
if it is a fly first tent:
if fly or inner tent clips to the poles, construct the pole frame, then peg out the upper guy lines if possible then sequentially clip the fly to the poles from bottom up
if poles pass through a sleeve, do this by pushing (NEVER pull the poles through else they will come apart and cause much trouble) then erect the poles sequentially
if it is a single teepee centre pole, ensure all guy outs are guyed out so they can be quickly tightened when the pole is inserted and erected
continually adjust the guy line tension to optimise them without being overly taut
ensure the poles are properly joined and secured
guy out any higher guy outs
then do any additional pegs as needed including potentially, double pegging each guy out