Tap on your target and select troops. Then a batch of troops are sent out. A battle happens when they arrive at their destination.
After joining an Alliance, you can choose to initiate a Rally, to attack an enemy together with your Allies.