There are benefits to flying to both airports, and your final destination is definitely a factor. Most direct flights will go into Atatürk Airport, which is also connected to the city by the metro, as well as being closer to the historical part of Istanbul. If your final destination is on the Asian side of Istanbul, it is worth flying to Sabiha Gökcen, as it is most likely much closer to your accommodation.