When you “restore” your iPhone, you are essentially resetting it to its factory settings. That means that all of your data and files will be erased from the device. If you have made backups of your data, you will be able to restore it from those backups, otherwise, you will lose all of your data.