Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
If you want to use the transistor as a switch, then the 2 replies you have already received are correct. But if you want to use it as an analogue amplifier, then the answer is a bit more complicated. Too complex to explain here.
If this is the case, send me an email and I'll help.