I’m new to recording on audacity and tried recording a song on it but whenever I record a track the previous ones bleed into it and I don’t know why.
Press Ctrl+A then Ctrl+E and send us a screenshot of the Audacity window so we can see what you are asking about.
We’ll need more details but can your microphone “hear” the backing track from your speakers, or “leaking” from your headphones?
How bad is it?
It’s probably not a digital problem unless something is configured wrong. For example, the left & right channels of a stereo file are completely separate.