Squatting with the gym ball is an excellent exercise, which your physiotherapist may prescribe to you prior to progressing you onto a full squat.
Have your feet in a comfortable position, between hip and shoulder width apart – you may find it more comfortable to have your feet slightly turned out.
As you squat down try to maintain your trunk in a line parallel with your shin bones, whilst keeping your knees aligned with your feet.