How to restore Magento database

How to restore a Magento database that is corrupted few days earlier

Having an SQL file with data format of utf code