To prevent runner's knee, strengthen the muscles of the legs and hips, maintain proper running form, wear supportive shoes, and avoid sudden increases in mileage or intensity. If you develop runner's knee, rest, ice, and elevate the affected knee, and consider seeing a healthcare professional for further evaluation and treatment.