12 volt motor transistor

That shows a circuit using an NPN. Assuming that you are equating Gate for Base, Source for Emitter, and Drain for Collector, there's one thing missing: a resistor. The Gate has a capacitance, it stores a charge and it stays there when the gate is biased off; add a 10K resistor from gate to Ground to bleed off that charge. Use a value < 1K (220-330??) for the present "3.3K" resistor.