Yeah, I use to get random erections in high school, so i would wear layers (usually a tighter pair of shorts under my baggy pants (kept my dick pressed against my leg instead of pitching a tent, lol) and bring an ice bottle to school with me and just place it in my lap during class. Weight training was akward, only had sweatpants for that, fortunately once i got warmed up, could usually keep the blood flowing and physically exert myself to either prevent or quickly go limp again.