Restore database according to editions
Sometimes:


When restoring into Express Edition, the database size can't be larger than the size supported by Express (which varies by version)
When restoring into Express or Standard Edition from Enterprise or Developer Edition, if your database uses Enterprise-level features, the recovery portion of restore won't succeed (the Enterprise features vary starting with 2016 SP1, which put more features in Standard)
When restoring into any server, some features need to be enabled on the database server itself. Examples include replication, full text search, CLR.