Upvote:3
Whether you need a visa to enter a country is determined by your citizenship (i.e., what passport you carry, and/or in some cases, what country's travel document you carry), as well as what country you're flying from and in what country you reside.
If an airline passenger is refused entry into a country, the airline will be fined and also is required to return the passenger to his or her point of departure at the airline's expense, although the airline may try to recover the cost from the passenger. Thus, airlines are very careful to review passengers' travel documents before allowing them to board.
Airlines use the Timatic database to present passenger-specific information based on the data mentioned above. Here's a link to access Timatic; there are others as well.
You haven't told us your passport or travel document country or country of residence, so we can't answer your question about needing a visa. You can input your information to the second link above, and see what Timatic (and, therefore, your air carrier) will require.