You can't add cards when you are in a battle, but you can before you have one. To do so, press P and you'll see your deck. After that you can see the cards that you have, to add them click on the symbol of what school you are, and you'll see all of your cards. Then click on the cards of what you want in your deck, and remember that each deck has a limit of how many of each type of card you have.