Solid privacy fencing to fully separate yards works best. Also plant perimeter landscaping to further visually divide spaces and avoid triggers.