Everything is a lot more straight forward if you are a Contractor or run your own business, rather than being an employee. As a contractor you are liable for your own tax affairs and bear the ultimate responsibility for whatever decisions you take,
As an employee, most companies have restrictions on the number of days employees can work outside of their home country. They may also have additional concerns on data privacy or contractual obligations which require their employees to be based in a certain geographic locatio.
If you don't want to risk losing your employment, you'd be best advised to speak to your employer before to avoid any unpleasant surprises.
Assuming your working status allows you to work abroad, if you are moving from country to country, your stay on a tourist visa is always likely to be well before any legal obligations you may face on having to become a tax resident there. That changes if you are intending on spending 6 months of the year in a certain location.
Read up as much as you can on all of your certain criteria and speak to an expert if unsure.
This is often a complex and misunderstood topic and varies massively depending on your status as a worker, where you are visiting and for how long.