You need to apply the RICE principle
Rest
Ice (ice pack of frozen peas wrappped in a tea towel applied to the affected knee for upto ten mins at a time, a few times a day)
Compression - support bandage or knee support around the knee
Elevation - when resting try and keep you leg up (i.e knee higher than your hips)
It'll also be worth taking some ibuprofen as its an anti-inflammatory, so should help to reduce any swelling.
Get yourself booked in with your GP so they can evaluate it properly and possibly refer you for further checks.