help!! my D string keeps making a weird noise that sounds like mic feedback

it’s not plugged into anything yet it sounds like feedback. how do i go about this?