Finding a good instructor, even for a few lessons, can show and teach you things there and then which you would never figure out by yourself or going through YouTube videos for years. Do both.
A mixture goes a long way but as stated, comes down to your personality. I've done classes for some more advanced stuff but still take it upon myself to teach myself things that augment.