Pendrive and wifi problem

How can I get my pendrive to it's previous state just by formatting or anything else.

Do I need to update my drivers after os installation for getting wifi worked ?