So first off, there is a huge difference between performing for friends and for spectators. Spectators (on the most part) actually will enjoy the magic, and will have some courtesy. Your friends on the other hand, they don't really give a crap (on the most part). I mean don't get me wrong, a lot of your friends and family will actually enjoy your magic. However, not all of them will.
So the first thing to do is slow it down. 1 thing magicians overlook is that NO ONE wants to really watch your magic daily. I would say take some time to just practice on your own. Don't annoy them with magic. They will eventually go long enough that A) They will be asking you for magic, or B) They will want to see it if you ask. It becomes a quality over quantity cliche, but it works. Another thing you can do is actually go ahead and teach them a simple trick every once in a while. Something that requires no sleights, but works good. The earlier stuff in the Royal Road is good for this. Let them perform it to someone after you perform to the spectator! Just be like "Ok for this trick, I am going to have this guy perform it. He has no experience, so go easy on him
" (Obviously not exactly that. That is super weird). People love to be in on the secret. Plus, they will probably forget in a couple of days.
Furthermore separate these 2 things: Is your friend actually being an a hole, or did he actually sit through your presentation, enjoy it and is just giving you honest feed back?
Now, if an audience member is just being annoying (friend or not), and actively trying to mess you up, this is what we call a heckler. I am going to redirect you to this thread for advice on hecklers. Go ahead and read through it.
https://www.theory11.com/forums/thr...ators-insist-on-messing-with-you.46845/page-3
If the feed back is negative, and he wasn't heckling you, you should try and work on your presentation. Here is another thread about negative feed back. Warning: Posts #14 through #34 become a full on off topic debate, feel free to skip through it.
https://www.theory11.com/forums/threads/negative-feedback-from-people.48552/page-3
If you need more direct help, feel free to let me know. A few of us are in a similar position to you - teenagers, or younger people who perform a lot at schools.