According to National Geographic, the leading causes of nerd boners are:
1. Natalie Portman
2. Pictures from Upcoming Comic Book Movies
3. Stiff Breezes
There, I helped you with the second one. For numbers one and three, I recommend google image search and standing outside. But be careful: experiencing all three at once could create an unhealthy drop in blood pressure.