Account creation failed and I can't access my macbook M1
I set up my Macbook last night. It is the first apple product I've owned in a long time so decided to create a new Apple ID during the process. Eventually, I got through the forms and it told me that account creation had failed and that I should try again. My Macbook froze so I turned it off and on again and now it isn't letting me set up an account it is asking me to log in though it won't accept my password. The macbook also won't accept my apple ID for resetting my password.
How do I go back to the start and remake an account that I can acesss?
MacBook Pro 13″, macOS 11.5