@SarwarMughal Please edit your post, using the pencil icon at the bottom, and add triple backticks at the beginning and end of your serial output so that it displays correctly.
Triple backticks look like this:
```
Copy and paste these if you can’t find the correct symbol on your keyboard.
When you post code, or compiler output in the future then do the same thing for that too.
My guess is that it’s something to do with the board type you’ve selected in your sketch, and that you are using a pin which clashes with the reset pin that is used to clear the stored credentials. Read this for more info…
Pete.