You have to fly to Ecuador first, either to Quito or Guayaquil, and from there you will fly to Galapagos.