Nicotine is so poisonous that if you ate two cigarettes (rather than smoked them to let most of it burn off into the air), you would die.

So. Don't smoke fast if you don't have a high tolerance for nicotine. (Which, being only your second cigarette, is obviously not the case.)

You had nicotine poisoning, and there is no nicotine (or anything bad like that) in cannabis smoke.

SO: no need to worry, and y'know, just relax on the how to inhale thing. Everybody is a newb once.