Have Cat Questions? Ask a Cat Vet Online.
There are a couple of things you can purchase that will help with this. One is called a Scarecrow and basically, it is a motion detector sprinkler system that will get them wet but not hurt them (Link attached).
The other item is a similar item but it puts out a blast of air and a loud noise. I've attached a link for that also.
Please let me know if I can help further.