Fret board

I was playing my bass the other day and realized that my 2nd fret on G String was making a nasty rattle sound, as well as my 2nd fret d string but not as bad as G string. At first I thought it was the strings, but then realized its probly the frets or the strings are adjusted to low to the board.
Any way I can fix this without paying someone to do it? Or suggestions on what the problem might be?
Thanks
Any way I can fix this without paying someone to do it? Or suggestions on what the problem might be?
Thanks