If you were expecting an email with the code, check your spam folder. If you were expecting an SMS message, make sure you aren’t blocking communications from us and that you have the correct phone number on the account.
If you can’t access to the email account you use with your DigitalOcean account, first try restoring access to your email account by contacting your email administrator, renewing your domain’s registration, or setting up another email server.