We cant see what you are talking about or know anything about your project or footage.
You need to tell or show us more.
Set Source Scaling in the Output tab of the Export Settings to: Scale to Fill.
YouTube only offers a 16:9 player, so you will have black bars if you want to see the entire image. No way to avoid that.