After you select your battle, select the unit that you would like to exchange on the Battle Ready screen, which will display the list of available units.
Tap on the unit that you would like to use in Battle from the Unit Library, which will replace the previous unit.