Before you connect your iPhone to your computer to try to fix whatever you’ve erased on your iPhone, DON’T!
Instead, be sure to read Ken’s article first on an important step before that will allow you to restore what you’ve lost through your back up.
Read the article at: Ken’s article.