I'm glad you're reaching out early, to get on top of a problem before it gets big!
You're already getting good advice.
Hold in mind that keeping a bird socialized and under reasonable control is a process, and it's entirely likely that you'll never have a perfectly behaved angel. I have let my bird develop some bad habits because I'm retired now (I got him when I was in college) so I have time to indulge him.
May I add some thoughts about expectations? I hope I don't sound preach-y. I also want to make it clear that I completely support all the great advice on training!
My bird is "difficult", always has been... I truly believe it's just his ingrained personality.
Even after all these years, I sometimes find myself putting myself or my bird down... stuff like...
I SHOULDN'T HAVE TO PUT UP WITH THIS OR THAT.
WHY CAN'T HE BE SWEET AND NICE, LIKE THOSE OTHER BIRDS?
PEOPLE NEVER UNDERSTAND WHY I PUT UP WITH THIS.
But birds are, as already said, just weird. Not dogs or kitties... not even mammals.
Over the years, I have sometimes been very embarassed/downhearted/sad about having a pet that was so... out of my control. But it is my choice to indulge and adore him.
Do your best with training and managing... you'll get lots of great advice here! Then just make adjustments to whatever issues are remaining.
Examples...
I have reduced biting to almost zero over the decades... not because I've changed the bird, but I have changed me. And a lot of that has involved giving up on a lot of my desires/expectations. After years of battle, I "compromised". I don't do stuff that gets me bitten. I NEVER do stuff that makes him mad... I don't touch others when he's out; I rarely try to get him to step up onto my hand first. Hand-held perch first, then hand. In some ways, I swallow my disappointment at having such a little monster for a pet, but he is what he is. I ALWAYS wear my hair down when he's on my shoulder, so all he can bite is hair. Really, I don't involve hands much... he doesn't like them. He seems to think the real ME is my head, perched on a weird moveable tree with questionable appendages. Since he's fully flighted, the ONLY way I get him into the cage is to toss a chile pepper in and he flaps in after it. So food reward is a necessity for me. Time-out doesn't exist in the Rb's kingdom.
I treasure the idea that I have an amazing half-wild being who shares my life! It's magic enough for me!
Parrot-owners usually wind up determining their own personal comfort level with various behaviors, and it's okay to be okay with that.
Good luck, and good for you for caring so much!