Anki Errors on Desktop

Hi there! I was having problems with Anki. In particular, every time I try to change the deck or the browse button, my Anki freezes. I keep having to restart the app, and the problem is persisting. What should I do?

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.40 (cf446733) Python 3.8.6 Qt 5.14.2 PyQt 5.14.2
Platform: Windows 10
Flags: frz=True ao=False sv=1
Add-ons, last update check: 2021-05-18 19:04:33

Caught exception:
Traceback (most recent call last):
File “aqt\”, line 87, in _on_closures_pending
File “aqt\”, line 59, in
File “aqt\”, line 76, in wrapped_done
File “aqt\”, line 114, in on_future_done
File “aqt\”, line 903, in on_collection_sync_finished
File “aqt\”, line 682, in reset
File “aqt\”, line 2650, in call
File “aqt\”, line 135, in onReset
File “aqt\”, line 112, in redraw
RuntimeError: wrapped C/C++ object of type QListWidget has been deleted

Please see When problems occur - Frequently Asked Questions