To be honest, those simple nylon bags are so cheap that formal repairs really don't make sense. A sewing shop charges at least 30-50 reais, and you can find a new bag for 40-60 reais anywhere. The math just doesn't work out.
But before you give up, try a workaround that actually works pretty well. If the tear is tiny (like around 5cm), grab an adhesive nylon patch (the kind you heat with an iron), which costs about 5-10 reais at C&C. Stick it on the inside to hide it better, run an iron over it on medium heat and you're done. I've done this with a grocery bag and it lasted months. If the tear is bigger or it's in a spot that takes a lot of pressure, it won't hold up well, and you're just throwing a few reais away.
The cheapest way really is just to buy a new bag. Those nylon ones don't last long anyway (usually 6 months to a year with daily use), so they're almost disposable. Keep the torn one to use at home for carrying messy stuff where it's no big deal if things leak a bit, like toys or trash.