I appered in 2012-13 XII and unfortunately got failed in Maths, then I appered in compartment exam held in July and again got compartment.

I have to re appear in compartment exam of 2013-14, whats the procedure?
Am I late in filling the form?
Will I have to give exam of all 5 subjects ?
Do I have to fill the Private/Improvement/Compartment form?
If yes then do I have to get it attested from my XII school principal ?

what and how to do ?
Please help!!!!!!!!!