Help - recording not working

I started using Audacity a few months ago. I did not not have any problems at first. Now, after getting a virus and having to reinstall audacity after the virus was eliminated, whenever I try to record, it looks like I am recording within audacity, but when I listen back, I hear nothing. I am currently using a different program and it works fine in the meantime, so I know it is not my computer, microphone or headphones. It has nothing to do with my computer and sound as far as I can tell. What is going wrong?

when I listen back, I hear nothing.

So far you didn’t tell us what you’re trying to record, but another program you won’t tell us about succeeds.

When you play, do the green sound meters kick up and down?