Hey man,
You’re probably suffering from one or two things.
1.) Check the height of yoru top nut: This you do by fretting the 3rd fret (G) and looking from the side
of the fret board towards the string. You should see a very small clearence, about the thickness of a thin writing paper between the string and the top of the first fret wire. If the string is atually touching
the fret wire, you should “shim” the nut. This can be done by your local guitar tech, and entails loosening
the top-nut and inserting some thin metal sheets between the wood and the top nut to raise it.
2.) Your trussrod could need loosening. A too tight (straight) neck will also cause excessive buzzing.
You fret the 1t fret of the low E-string, then tap and hold the highst fret on the same string (be it 22nd or 24th). Then look from the side of the neck again, at around the 7-8 fret. You should see a clearence between the string and the frets of about 0.3-0.5 mm for optimal performance.
You can check my guitar setup tutorial here on IG for more tips, and practical demonstrations.
There is one final thing that could also cause string buzzing, and that if you have a worn top nut, where the string has dug a groove in the material that is uneven, so that the part of the string vibrates against part of the nut, and does not lie flush with it. This very rarely happens with metal nuts, but is a very common mistake people make when filing down new top nuts, and they are nto getting the angle correct. You an go crazy looking for the source of that buzz, since it seems to be coming from all over the place. (there are also some cases where you can have a loose trussrod, but that would almost always manifest itself as a rattling from within the neck itself when strikign lower string together for stronger resonance, and you can touch the back of the neck and it will go away).
/Richard