Welcome to Android Central! I used Google Translate: "I restored the device and forgot the email password. I created a new one through another device and now asks to try again in 24 hours. After 24 hours will it work?"
Yes, you have to wait 24 hours before you can try to log into the phone again. However, another possibility is that if you did a factory reset without first removing the Google account properly from the phone, this may be due to Factory Reset Protection, which requires that you enter the previously associated Google username and password. Has this phone always been yours, or did you get it used?