How to control the amplification of a Transistor?
The typical way to get variable gain, like a volume control is to put a potentiometer in front of a fixed-gain amplifier.  Set the amplifier to the maximum gain you ever want, then use the pot to scale down the input signal you feed into the amp.