Use 'at bay' to express maintaining distance between oneself and something undesirable or threatening. She kept her fears at bay with positive thoughts.
Pro Tip 2/2
Controlled Situation
It implies suppressing something potentially problematic from affecting a situation. Regular exercise helps to keep health issues at bay.