Learning to take off and land in a crosswind can be one of the more challenging skills for student pilots to master.
When deciding whether winds are conducive to flying, consider the crosswind component for departure as well as landing, along with the aircraft’s performance limitations—and your own. The wind direction and speed at your departure airport may differ significantly from your arrival airport, even if the distance between them is relatively short. Do a thorough weather briefing and check conditions at both airports, as well as en route, and base your decision on all available information.
Aircraft and personal limitations are essential components in your decision making. For example, you may be flying an airplane with a max demonstrated crosswind of 17 knots, but that is the airplane’s maximum limitation. Yours will be much less to begin with, will increase with experience, and will vary. Variations include how recently you have flown, experience in the aircraft you’re flying that day, and personal factors (such as stress and fatigue) that may affect your readiness to fly.
There are techniques that you will practice with your instructor to prepare for flying in crosswinds.
For takeoffs, the roll begins with the ailerons deflected into the wind. The amount of deflection varies with the crosswind component and is reduced as the airplane gains speed. Once off the ground, a transition to crabbing into the wind can be used to maintain heading.
For landing, there are two methods: slip and crab. It’s important to be familiar with and practice both so you can choose which works best in a given situation for you and your airplane. Some pilots use a hybrid of both methods. Chapters 6 and 9 of the FAA’s Airplane Flying Handbook describe the techniques in detail and will serve you well as an introduction to the maneuvers before practicing them in the airplane.