It would be great if you can share the exact error so that accurate solution can be determined.
Here is the reference chart for finding out the error cause.
SQL Server Database Backup and Restore Failure Notifications[
^]
Most of the times, restore fails due to database is in use. Make sure that database is not in use by any other services like applications, IIS or the SSMS itself.
Hopefully it helps :)