If you can get your contacts back depends on where the info was saved. If it was in cloud storage, say your GMail account, they will return when you logon. If they were saved to the local phone storage, they are gone. For future reference, make backups of your data before something happens, after is too late. Contacts, pictures, etc... back them up.