If you're sure you are going to format, then its fine, but in the future, try to be more careful about the files that you download (specially applications), and try not to click on those inviting ad banners.
a word of advise, while taking the backup of your important files prior to backup, please make sure that those files are really important. try to avoid any software or .exe file for that matter. It is advisable to only take the documents and other important stuff.
Cheers, Best of luck![]()