If you want to avoid losing money while playing, for example here https://www.catarinasc.com.br/ do not go to the casino without a plan. You need to set a budget and make a plan of how you are going to play. It is best to record your casino budget before your visit. Casino ATMs usually charge a ridiculous withdrawal fee.
Just take the amount you need to lose. Use the money you have for entertainment, not for food or rent. It makes gambling more stressful and more sensitive. Keep your bankroll comfortable and leave your card at home.