The best way to prevent slipping in the garden is to wear shoes that have good treads and are slip-resistant. This will help to grip the ground and prevent you from slipping.