Audacity keeps recording mic and speakers

I have audacity installed and every time I record, it records from both my microphone and my speakers. I’m running a laptop with windows 7 and an integrated microphone and speakers (the same thing happens when I use headphones). I really need to be able to listen to a metronome while recording, but audacity keeps recording the speaker output as well as my microphone input. Any way to make it just grab from my mic?

You should use headphones in preference anyway, but have you set the input device in Audacity’s Device Toolbar to the microphone?

If you plug headphones in this should disable the internal speakers. If it doesn’t, open the Windows Control Panel and look in the control panel for the sound device and look at its output settings.