corrupted file

After finishing my project I attempted to take a screenshot and it didn’t work, audacity crashed, and when it recovered all my audio was flat lines.
There has to be a way to correct this (I already tried the force quit / reopen and that didn’t work. I don’t know how to code so I’m lost in terms of what to do.
Please help

Which version of Audacity? (Look in “Audacity menu > About Audacity”)

Which version of macOS?

Unfortunately that probably means that the project is destroyed and unrecoverable. I think our main concern now should be at preventing the problem from happening again.