Check that the clock on your device is correct and set to the correct timezone. An incorrect clock can cause codes to be out of sync. Try refreshing the codes in your authenticator app.