When you tap on one of those colored flags next to your HQ, you will see which countries are in the alliance you have signed, as well as your potential target. Tapping on it will bring up a screen of all countries and cities under its control (This is the same for when you want to attack your own country or city). You can then tap on one of them and set out for battle.