Retroarch Menu Going Crazy

So I Opened Retroarch Like Normal And As Soon As A Press The D pad on My Controller It Went Crazy Going To Left And Right Without My Control Do You Have An Idea What Is Happening Please Help Me

Edit: I Fixed It Just Changed The Gamepad Driver on RetroArch Menu Than to Normal It Started Working Properly

I get this issue sometimes as i press down or up to select various options. It sometimes gets “locked” and behaves as i’m holding it so it scrolls at high speed on it’s own. It’s rare but it happens.