Mindfulness. Meditation. Focused breathing. Peace focuses on the present whereas depression focuses on the past and anxiety on the future.
Practicing being in the moment has helped me a lot. When I get anxious or find myself ruminating I meditate. The more I do it the better I get at stopping intrusive thoughts about the past or possible future.
It takes work, though.