Welcome to HealthcareMagic.
In this situation you need to visit Orthopedician.If you have your bone sticking out of knee , you definitely need a surgery.I advise you to visit your Orthopedician and get an x ray
done. Depending on the x-ray the type of injury
mode of surgery and plan of treatment can be done. It is very essential that you get it treated as early as possible to ensure effective movement of your leg and less pain.
meanwhile avoid movement of your knee till you seeof your doctor.