If you fly to Portugal, chances are high you will go to Lisbon Airport (LIS). From there the Metro will take you to the city center in around 20 minutes costing 1,40€.
When going to the Azores or Madeira you might be lucky to have a direct connection from your departure airport, otherwise you will most likely have to transfer at Lisboa Airport. Here you will find a list of all airports in Portugal.