Start by sitting on a chair facing a wall with an exercise ball in front your leg on the floor. Your chair should be so close to the wall that the ball touches your shin and the wall.
Try to straighten your knee by pressing your lower leg against the ball. Feel the muscles of your front thigh working. Then relax.
Note. Make sure your chair does not fall backwards.