Knee rig not working

The knee that I am trying to bend forward isn't working for some reason. It keeps bending unnaturally, does anyone know how to fix?