Yeah dude you just swallowed some smoke. You'll edventually just learn to chill when this happens, as it's not a big deal and will come out soon. If your worried, maybe something with carbonation will help (soda), but it shouldnt be a big problem, its fairly normal.
Take care