You should purchase an Istanbulkart at vending devices situated in the Istanbul Airport metro station or at kiosks near the exits.
If you need to preserve somewhat income or have a local encounter, the Metro is the way to go. It’s straightforward to employ and really cozy.