I'm afraid you're asking something that no one can answer without checking and testing your guitar in person. There can be many reasons for rattling noises and more than a couple when it comes buzzing noises. Buzzing can be caused by faulty strings, low action, improper neck relief, plus uneven or raised frets. I have even had people who could more or less get any guitar to buzz no matter how the guitar was set up - guitars that every other player found to be no problem at all.
It is first and foremost vital to find out if you have string buzz on every string or only certain strings. Also, does it occur all over the fretboard or only certain frets? Open strings or only fretted ones?
Rattling noises can come from pickups, bridge, tuners, loose truss rod and more.
You will need to have an experienced individual check out the guitar for you. It is really quite rare that it takes a lot of tweaking to get a guitar up and running ... for someone who knows what they're doing. It is usually a matter of a few minor adjustments.
Edit:
You are asking about a refret. This is seldom done unless you really love a certain guitar and the frets are all very worn. Same goes for a partial refretting. Be aware that this s very expensive and requires specialized tools and LOTS of experience.
Before any changing of frets is even considered, a guitar tech will look at the frets i detail. Typically, it is common to make sure the frets are properly seated first, then a leveling, crowning and polishing of the frets will be carried out. On many guitars, you can have the frets filed (leveled) a couple of times before the guitar needs refretting. This all depends on type of frets, playing style and personal preferences.
The problem with a string touching a fret when you bend it up is called to fret out, or choke. It is some times down to individual frets being uneven/worn. Low action and improper neck relief may contribute to the issue. It is happening far more often on guitars with a smaller fretboard radius, like older style Fender necks. Flatter necks (wider radius) or compound necks rarely have this issue.
It is also possible to have a note on the higher strings fretting out if the bridge is adjusted wrong. Some sets the lower strings with lower action than the high ones. the string action should get gradually higher from the high to the low E. If you get this wrong, the high strings may choke out on bending notes - again more often with narrower radius fretboard.
Again: You need to let an experienced individual look at the guitar - we are only guessing here, And please, PLEASE, leave the truss rod alone until you know exactly what you are doing.
Reading all the questions you are posting about your guitar "upgrades", it is painfully clear you have no clue what so ever what you're doing.
It is fine of course to experiment with a lower grade guitar in order to learn about this stuff. Just don't expect anyone here to help you out with things that can only be dealt with hands on. It is impossible to guide you with written explanations!