Deleting a file usually removes the pointer to it, not the data. The space is marked reusable, and until something writes over it the contents are often intact.
That is why the most important step is to stop using the drive. Installing recovery software onto the same drive can overwrite the very file you are trying to save.
Before reaching for tools, check the easy places: the recycle bin, the app's own trash, cloud version history and any backup. Most 'lost' files are in one of those four.
Solid-state drives complicate matters, because they clear unused blocks in the background. Recovery chances drop within hours rather than days.