If you work remotely and want to stay in a country longer than a typical 60 or 90 day stay (depending on the country), most of the time you will need either a long term visa or you will need to leave the country after the allotted time period. With some countries’ visas, rules are slightly more lax. If you reach your max amount of days, you can exit the country, get an exit stamp on your passport, head to another country for a day or so, and then return problem free.