Unclear about fluctuating frequency when using NPN transistor
Your transistor seems to be connected backwards.
What is that thing connected between the emitter and 5V, is that your measuring instrument? There needs to be a load between transistor and the power supply poles.
Your set up just seems to be wrong.