Static on playback

While recording the music sounds great through my headset but I get nothing but static on playback. Sometimes I get nothing at all!
Windows 10, Audacity 3.1.3…

If you are trying to record what is playing on your computer, see here: Tutorial - Recording Computer Playback on Windows