You need a lot of mobility and flexibility to squat. Try practising with body-weight squats. You can put a broom handle on your back or hold it above your head to help you stretch out. There are a lot of resources to improve mobility and flexibility in the squat including this site. I have also been reading Gray Cook's book and he has a lot of functional moves to improve body balance and exercise performance.