Whenever any accident happen (whether you want to claim or don't from you insurance company), always inform your insurance company in detail. They will take it forward from there.
In case of total loss the insurance company is liable to pay the full sum insured (the value for which you have taken the cover of your car)What do you mean with sum insured in case of total loss?