Settings is stopped working

When I connect my phone with laptop it’s not connecting and showing settings had stop working.It is happening when I connect my mobile with laptop using usb

@rajeshramisetti427
Can you check the notification panel and change the USB mode from “Charge Only” to “Transfer Files”?

I changed the mode.when I changed a pop-up is coming like settings is stopped open again.it is repeating till I remove the USB connection

@rajeshramisetti427
Can you reboot the device, enable USB debugging from the developer options settings and check again?

I did this but there is no use

Then last option is …Reset your device

Already I did this bro but no use