Help driving motor...

What do I need to know to select the proper transistor to use? Is it based on voltage?

Thanks for your quick help.