It's a little hard to read, but I believe you have a collector resistor of 47kΩ which is much too high for the collector stray capacitance. For a representative stray capacitance at the collector (transistor plus connection wire/trace plus load) of 20pF the collector resistance can be no more than 400Ω to generate a 20MHz sine-wave. If you want to generate a digital square-wave, the resistance would need to be even lower or else go to a push-pull or totem pole amplifier stage.