It's known as inductive kick or flyback rather than backfire. Use a transistor to switch. But having inductor wire (magnet wire?) doesn't mean you have an inductor.
By the way, a circuit where storing inductor flyback is fundamental to its operation is a boost converter. They're everywhere. There's also an aptly named flyback converter which is similar.
But high voltage will destroy transistor ? I have inductors but they have 160mH or less – Mordecai
Sure, but it doesn't sound like your understand what inductive kick actually is. When current is interrupted in an inductance, the inductor extracts the energy stored in its magnetic field by collapsing it. It uses this energy to turn the inductor into a source which tries to maintain that current level through the inductor. It will produce a sufficiently high voltage to force that level of current to flow through any obstacles in the easiest path (lowest impedance path) it can find. If the easiest path available is difficult, then that voltage will need to be very high. If that path is easy, then that voltage doesn't need to be so high.
That means you can control the level of the inductive kick rises to. Present the inductor with an path that is easy enough so the voltage required to maintain its current isn't so high it will blow transistors, but difficult enough that the voltage spike produced is as high as what you want. The simplest way is to just size your cap appropriately. Smaller capacitors will result in higher voltages since they will charge up faster for the same amount of charge (loosely current over time), thereby opposing the inductor's flyback voltage more causing the inductor's flyback voltage to increase to keep the current going.
Also, 160mH is quite a lot of inductance.