Passcode not working after reset
I reset my iPhone XS Max so after a day when I turn off and ON my mobile not accept the passcode which I was using.
and I don’t want erase my data.
what I should do ..?
someone plzzz guide me and what is the reason my passcode is not working after reset.?