Check saddle height first
A saddle that is too low forces the knee to bend too far, which can irritate the front of the knee. Use the heel method and check the knee angle at the bottom of the pedal stroke. Small changes often make a noticeable difference.
Check the cleats and pedals
If you use clipless pedals, the cleat position matters. A cleat that is set too far forward or rotated can twist the knee. Flat pedals with a wide platform give more freedom to set your feet, which some riders prefer while they adjust.
The BUCKLOS combo pedals below have a flat side for sneakers and a clipless side for SPD-SL cleats, so you can switch as you learn.
Check how you ride
Sudden increases in distance or hills can strain the knee. Build up gradually, and use a lower gear to spin rather than push hard. A slower cadence with more pressure is harder on the joints.
When to get help
If pain lasts after you adjust your setup, or it is sharp, swelling or getting worse, see your doctor or a physiotherapist. A professional bike fitter can also check your position on the bike in person.