Restoring to factory settings

How do you format it from one to the other. Fat32 would be better for my Pioneer setup. Thanks