Like the country Chile? Sorry if this sounds ignorant. I just want to know more info so I can help.
These are alternatives if you don't have a homeless shelter or somewhere to stay.
Also do you have parks nearby. A lot of parks have buildings with restrooms, like a little shed at least where I live. It smells bad but you can huddle up in there.
Other alternative, if u have cash, a gym membership is about 15 a month u can at least clean up there and use their lockers to keep stuff you can't carry around all day.
As for places to sleep besides a park. Churches are good to if they don't lock their doors. You can just chill on the pews or relax in there all day. They shouldn't bother you if you say you're praying. I'm saying this as a catholic myself. It's not right to bother ppl there even if you're not praying. As long as you don't smell or arent disruptive or loud.
I hate this one, but police stations are open 24/7 so just chilling there might be an option.