It is always easiest to dock against the wind. Try to hold the bow exactly into the wind and maintain sufficient speed for the boat to answer the rudder. If the bow is blown off in one direction, back out and repeat the maneuver. Bring the bow up to the jetty, and make sure you get a line ashore quickly.
Docking with a side wind is a little more difficult. Do not steer parallel to the jetty letting the boat blow in as there is always a risk of the bow being blown off towards other boats or the jetty. Instead, try to maneuver the boat so that the wind comes directly from astern. Then the boat can be maneuvered straight ahead since the wind helps hold the boat on a straight course. It is good to have someone on the foredeck that can go ashore and quickly turn the bow in the desired direction after the boat has stopped completely.
Try to always avoid sharp movements of the throttle, since idling speed in ahead and astern is generally adequate. Sharp movements of the throttle can lead to panic maneuvers.
The tensile strength of the lines or chains should normally not exceed the strength of the fastening point in question.