If you're coughing, then you're inhaling, but try to take smaller hits so you don't cough as much. You could just be smoking some shitty bud though. And as it was already said, it takes most people a handful of tries before they get high. Do not be discouraged, just keep trying. I remember a few years ago, it took like 12 tries for my buddy to get high.