Can't Play Back Audio

I can record just fine, but when I try to listen to what I’ve recorded, it won’t work; I get the error message:

Error opening sound device.
Try changing the audio host, playback device and the project sample rate.

The project sample rate and playback rate are the same.
There’s nothing else to change Playback to under the Devices preferences; it’s only option is “Speakers / Headphones (Realtek High Definition Audio)”.

Every topic I can find either is that error message when recording or if it’s for playing back audio, I don’t find an answer.

Aindows 7
Audacity 2.2.2

Please check here:

https://manual.audacityteam.org/man/error_opening_sound_device.html

On Windows 10 I get thsi same error method, but I cannot change any of those settings because the drop-down menus are blank. What can I do?

Look in the Windows Sound Control Panel and ensure that you have at least one working recording device and one working playback device.