I'm sorry, but what you're asking is not entirely clear. Are you asking how to do a Factory Reset (which is different from formatting)? Before going further, please tell us what problems you are having....a Factory Reset is a drastic thing to do (and so is formatting) and may not be necessary.