Do a bit of googling about how teenage brains develop and different from adults. It's facinating and i think can help to see behaviours for what they are and relax. Rather than presume the child is now going to turn into a horrible adullt, then start shouting and trying to fix them. I don't mean that you never correct and punish but pick your battles and don't start them.
EG I read a while back about how teens read emotions differently from adults, those wierd conversations I have had with mine sprung to mind. Somethimes we will be having a conversation and he will get angry and ask me why I'm angry with him. My real emotions was something like confusion because of how he was telling me something and I was trying to get him to rewind. Or I'm just trying to remind him of something. To teen with headphones:
"Can you remember to do the dishwasher. Teen dishwasher after dinner"
"I KNOW WHY ARE YOU HAVING A GO AT ME. WHY ARE YOU ANGRY WITH ME IVE NOT EVEN HAD DINNER" 
I now try and check myself and to stop those situations from escalating and may make a joke about it by laughing at myself.
I had a parent who managed to turn anything into a battle, or when they were being seemingly easy going there was often a hint of ridicule behind it. I don't have a perfect relationship with my teen but I do try and not jump down his throat when he does normal teen things. If he wants to go to his room and listen to depressing music I won't tease him (mainly because he's stolen my playlist
) . I used to get "There's Huldra going to her room to brood and be all woe is me". I won't tease him about girls and emotions. If he gets things wrong I try not to make him stand there whilst I shout about how wrong he was, instead I nudge him towards thinking about how he can fix things.
We're in GCSE stress at the moment and last week he was very antsy and over reacting. Turns out he had projects to hand in the next day and still had lots of work to do on them. The temptation to make him there and shout was very strong. I had plenty to shout about; how he shouldn't have gone out last weekend, how he's had months to finish it and he should just be doing double checking by now blah blah blah. OK I may have felt better by dumping my emotions on him but it would have made him much more anxious and hinder him getting it done.
Instead I gave him some money to walk to the shop to buy coke (the drink) and junk food, on the walk I told him to clear his head and draw up a mental plan to prioritize. We discussed if he had to pull an all nighter then that's what he had to do, I told him could cook himself nuggets or toast in the early hours if he had to. I woke up to a cheerful teen who got it all done by 1 am.
I'll save the lecture, when he's doing his A Levels we'll discuss better planning and remind him of the gcse stress.