In such case, it is not a problem, as soon as you build the domain again, the redirects disappear.
If you want to regain the former strength of the domain as much as possible, follow these steps:
1.) go to archive.org, to the date before the domain was redirected, means to some date when it still had some original content
2.) rebuild the domain with that same content, with the same structure, simply copy/paste it to the server again. You can do it yourself or you can use a service like archivarix.com, it will cost you around $5, depends on how much content you want to rebuild
3.) write down all backlinks with ahrefs, check manually one-by-one if they still exist and if they are live (means when you click that link it will really lead you to your page)
4.) try to revive these links, buy cheap seo backlinks to these backlinks or submit them to your backlink indexer of choice
5.) set up Google search console
6.) WAIT
7.) after 2 months check again backlinks, now with GSC, so that you know which of the sites that link to you, really matter to google
8.) you can start rebuilding or redirecting the linked pages
Meanwhile you can of course build new content but don´t touch the linked pages very much.