Most games make it really easy to play against other people online. There will probably be a “Multiplayer” option on the main menu: just click on that and follow the instructions. You may get a choice of playing “co-op” (with your friends against computer-controlled enemies) or “competitive” (playing against other people).