Your schematic is lacking a flyback diode across the relay coil to prevent destruction of the npn transistor each time the transistor opens the 12 volt circuit and the energy stored in the coil is released. Any general purpose silicon diode with a 100 volt prv rating should suffice.
