I guess the funny thing is that at least you know you can get an erection. I mean this is a natural thing and happens. The best thing is to keep going and know that this can happen it's part of nature. I mean in school you be just sitting in class and bam!! The important thing is that now you can distract yourself and think about something else and it should go away.