Taking a break from work and just going for a walk/bike ride in a forest or visiting some interesting place while traveling and working remotely often gave me really great ideas that helped me to solve problems at hand much faster than sitting in an office, fighting with a problem. Like what would take me a week to solve was often done in a day when changing scenery.