Transistor issue

Do as winner says, but you also need to connect a diode in parallel with the motor to catch the back emf when you turn it off. And use a transistor with a greater current carrying capacity.