First we would need to create a huge magnetic field protecting Mars from the solar wind that has blown away the atmosphere Mars previously had.
https://www.sciencefocus.com/space/how-did-mars-lose-its-atm...
https://astrobiology.nasa.gov/news/how-to-give-mars-an-atmos...