When you hear a ringing tone indicating an incoming call, simply double tap the outside of either AirPod to answer it. When you're finished, the action is the same -– just double tap an AirPod to hang up the call. That's all there is to it, though you may also want to enable a setting to have your AirPods announce who is calling. Instructions are available here.
On the market for an iPhone? Here's a breakdown of all the currently shipping iPhones from Apple.