Static when I record

I have windows 8 PC and downloaded latest Audacity plus Lame file. When I record I get nothing but static. When I play music on my computer there is no problem with the sound.
Does someone have an answer.

You seem to have missed stating the goal.

“I want to record my voice into a microphone.”