Flashing your phone will erase all user data (contacts, messages, photos on phone memory). Backup using Nokia Suite first if the phone still boots.