Hi Aniket,
Thanks for your screenshot. Based on your screenshot, you didn't enter correctly 6 digit code. If you make sure you have entered the correct code, please try to clear your browser cache and check if the issue persists.
If it doesn't work, you can contact your admin and ask your admin to help you to reset your MFA (multi-factor authentication). For detailed steps to set up MFA, you can refer the link below:
https://docs.microsoft.com/en-us/office365/admin/security-and-compliance/set-up-multi-factor-authentication?view=o365-worldwide
Please let us know if you need further assistance.
Regards,
Carlos