When I was doing a task, I would continuously reflect on it, analyzing each step and contemplating the repercussions of each action. This helped me resolve many issues. When you are faced with a difficult situation, think through it, looking at all the possible options to solve the issue. This will help you find the best possible solution, and when you are finished with your solutions, think of all the possible outcomes of each solution, and then formulate a plan to move forward.
This helps not only with philosophical reflection, but also with problem-solving skills.
For those who are open to it, this can be achieved by meditation, prayer, and/or by spending time in nature.