How can I retrieve my deleted files on Ubuntu?

I was recently clearing out my old files when suddenly I deleted some of my new files as well. In Windows OS you could retrieve your deleted files and restore it in a matter of clicks. I’m trying to figure it out with Ubuntu. Is there a way to retrieve and restore my original files?

