Before I travel, I borrow language CDs from the library. (I start 9-12 months in advance.) I can keep them for three weeks and if they aren't on hold for other people I can renew them up to 9 weeks. Most library systems will allow you to borrow materials from other libraries, so I request whatever is available from all libraries. Some will be simple and some more difficult, but I listen to all of them. If nothing else I become accustomed to the sounds. I listen while driving and while I'm doing boring chores. It's amazing how much I can learn in a short while.
If you at least make a little effort, most people will be happy to help you. I strongly recommend you learn essentials, like "where is the bathroom" "how much does this cost" but the best things you can learn is "I don't speak Spanish well, please speak slowly" and "I don't understand." Please don't nod like you know what is being said when you don't.
I also have a language app on my iPad that doesn't have to be connected to WiFi. I can type in anything and get a translation to show to someone. (In some parts of the world perhaps a street vendor will not be able to read, but people at hotels and restaurants probably can.) I can also have a person type in an answer and I can translate it back to English. The translations are often awkward, but they can usually be understood by both people.
You can also find some free lessons online. Some will try to sell you upgrades, but you can usually get along with what you learn in the free sessions.
Look up "1000 most common words in Spanish" and "free online Spanish lessons." You'll find many sites. Try a few until you find one that seems to work for you. You have to put some effort into it, but it's worth it and then you can use what you learn in many Spanish-speaking countries. And since Spanish has similarities to Italian and Portuguese, if and when you need to learn a little of those languages, you'll be a step ahead.