Help my collection is corrupt

Hi guys! I’m not technologically savvy so please bare with me.

I have this error message and it won’t allow me to do anything. I installed, deleted etc. Not sure what else i should be doing :(. I really need this for my med finals

An error occurred. Please use Tools > Check Database to see if that fixes the problem.
If problems persist, please report the problem on our support site. Please copy and paste the information below into your report.
Anki 2.1.49 (dc80804a) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Mac 10.16
Flags: frz=True ao=False sv=2
Add-ons, last update check: 2021-12-12 08:16:08

Traceback (most recent call last):
File “aqt/”, line 523, in loadCollection
File “aqt/”, line 672, in moveToState
File “aqt/”, line 679, in _deckBrowserState
File “aqt/”, line 68, in show
File “aqt/”, line 142, in _renderPage
File “anki/scheduler/”, line 52, in deck_due_tree
File “anki/_backend/”, line 185, in deck_tree
File “anki/_backend/”, line 131, in _run_command
anki.errors.DBError: DbError { info: “SqliteFailure(Error { code: DatabaseCorrupt, extended_code: 11 }, Some(“database disk image is malformed”))”, kind: Other }

Try restoring from an automatic backup as explained here: Managing Files - Anki Manual

Thank you for your response. This was my last resort as I the latest back up was a few days ago. I’ll just have to start from there, lesson learned.