Please see the WordPress guide on how to restore your database from backup.