There are situations where you can work remotely abroad on a simple tourist visa and situations where you can’t. Before you decide which is the best path for you in your unique situation, the best place to start would be to check out the embassy of the country you are going to.
They usually have a website in your home country, written in your own language as well as the official language(s) of that country.