The most effective way that I've found is to push your boner to the side, if that makes sense. The problem with this is that you gotta hide the act of pushing your boner to the side.
What's a better way? Don't you dare say folding your arms...
-
pushing it to the side is worse for me cause the added pressure from my pants just turns me on more.