- Split the song into stems if you need to fix individual parts.
- Restore or enhance the stems that need work.
- Use EQ, volume, or Match EQ to balance the stems together.
- Export the finished stem mix.
- Import the exported mix again and use Master as the final loudness step.
In other words: restore and mix first, then master the final mix.