Ensure all gear and equipment is stowed away correctly.
Always set the mainsail first if you are going to use both sails.
Check the main halyard shackle is secure.
Check the main halyard is free, not twisted and has unobstructed access to the top sheave at the top of the mast.
Ensure the sail cover is clear and all the sail ties are removed.
Make sure all non-required reefing lines are unlocked from rope jam cleats and are free to move up with the sail.
Assess the wind strength and fit one or two reefs as required. Usually the one reef should be tied in 13-18 knots winds strength and two reefs tied when the wind approaches 18-23 knots. Note that reefing is very important and is done in order to keep the boat under control, to avoid sail damage, rigging failure and injury.
Turn the boat straight into the wind and motor slowly forward. You need to keep the boat moving through the water in order to keep the dinghy away from the back and to maintain steerage.
Release the main sheet.
Raise the sail slowly, so the sail moves up through the lazy jacks and the battens do not get caught on the way up. You need to be steering straight into the wind. If they do catch, release the halyard tension, drop the sail a little until clear then try again. Never force any halyard and check that reef lines and sail slides do not get caught. It is important to have someone always watching the mainsail when it is being winched up the mast.
Finally tension the Mainsail halyard, then set the desired course. You can then trim the sail using the main sheet.
The main halyard should be stowed away or tied securely so it will not fall or wash over the side.