Borrowed from Spanish Panamá, of unknown origin. Possibly from a Chibchan language such as Kuna, or another indigenous language of the region (such as Cueva, which is barely attested and is now extinct).
Improve your pronunciation
Practice speaking and memorizing "Panama" and many other words and sentences in English.