How Can I Record only single a program

I like to use Audacity to record some musics, but i have some problems. I want to record only a single program, but i can’t, i don’t know how to do this. Also I Don’t Know if the program have this option or no.