Did you drink any water before surfing?
If you didn't, a combination of dehydration and accidentally drinking salt water could give mad headaches and nausea.
If you feel like vomiting, go for it. Blow chunks, then drink gatorade, then you'll probably feel better.
ooh and get some motrin in you.