You will need to obtain the relevant visa from your local embassy or consulate, and pay for the next flight. A Visa is an endorsement stamped on your passport by foreign customs officials that allow you to visit that country. Visa on arrival is available depending on the country destination.
It is your responsibility to obtain at your expense a visa (if required) for each country you plan to visit. Visa requirements for each country vary depending on your citizenship status.
For further information please visit IATA’s Travel Center site for Passport, Visa & Health travel document requirements.