I accidentally chased and harrassed my neighbor
How did you manage to "accidentally" harass  your neighbor?
I was trying to play a prank, and it got out of hand.
Did you apologize to your neighbor? I'd assume you've let him in on the joke by now so he realizes everything's okay.
I'm going to find a way to make it all work out.
That's good to hear. I think your neighbor will be pleased to know your prank wasn't serious.