Write off car

would i get a new car if my car is a write off even tho its financed how does this all work?