Motor dc transistor

Guys I need some help with a transistor. I am trying to drive a dc motor with a transistor, a very simple circuit. The transistor is a 2N2222A, only when I start the circuit the transistor glows, even if the amps and volts do not exceed the limits of the transistor

What? :sweat_smile:

Draw the circuit and post the photo so that we can see

This should be the correct circuit

Found here
https://www.tutorialspoint.com/arduino/arduino_dc_motor.htm

Other post/duplicate DELETED
Please do NOT cross post / duplicate as it wastes peoples time and efforts to have more than one post for a single topic.

Continued cross posting could result in a time out from the forum.

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.