Depends on how PO'd you are, and what risks your willing to accept.
Gather dog poop, place in brown paper bag, place on his front step, start bag on fire, ring doorbell.
For added class smear outside doorhandle with bacon grease before lighting.
If he's a next door neighbor, build a fence, a BIG, UGLY, TALL nasty looking fence.
Most citys have very little if any regulation on fences.
(Could build it out of car doors if thats what turns your crank)
If he has a pet, call the cops every time you see it loose/out of its yeard. Just tell the police the address of the person it belongs to.
Dunno about you but its a 100$ fine every time you get a complaint about a loose dog where I live.
Just sit down, cool off, take the white heat off your anger. Revenge is a dish best served cold, cool, & calculating.