To leave the airport, you have several solutions! You can take a taxi or a shuttle from the airport but it is a long and expensive solution. Alternatively, there is the AirTrain that connects the airport to Jamaica Station where you can take the E, J or Z metro.