Led by his best bud Kurt into the woods, he thinks they're there for something else. After stripping to his undies, Veronica starts to count to three only to be cut off when JD shoots Ram in the throat and he dies.
One of the jocks, after being left "drunk and flailing in cow shit" by Veronica, he starts to spread lies about what happened that night. Veronica's anger explodes when she finds out what was said about her, so she calls up Kurt to meet in the woods at dawn with Ram. A prank set up by her and JD, he ends up getting shot in the chest after a chase though the woods with JD.
The only genuine suicide (not including Heather McNamara's attempt) in the movie, when JD reaches his most *insane* he realises that he can't blow up the school because Veronica's strength stops him. Attaching the bomb to his chest, he speaks his last words to Veronica just outside the school.