If possible put up a gate and a no trespassers sign. Or a beware of dog, they may second guess entering.
If you do have a no trespassing sign and it doesn’t stop, maybe add another sign that says the police will be called and they will be reported for trespassing if they enter the gate without permission.