1. Cover the garden with soil. Most cats don't like to touch these large pieces of plastic film, so they will avoid going to places with plastic film.
2. Use fine barbed wire with a diameter of 2.5 cm. This kind of barbed wire can be laid on the road leading to the garden. Cats don't like the feeling of paws stepping on this barbed wire, so they will avoid it.