If you mean your music - yes it will be erased when you format. If you are worried that your player won't function or have the software needed to operate after you format, don't worry

Formatting will not erase the stock software, it just formats the hard drive.