How to safely remove specific files on Linux?

How do I safely delete all files, on Ubuntu Linux, with a specific extension (e.g. .bak
) from current directory and all subfolders simply by using one command-line? I'm afraid to use rm
because I used it wrong once and now I need advice. Is it possible to perform such action?
