First contact your hosting provider or read their docs to understand their SMTP credentials or get their SMTP Credentials.
Then, Go to Admin > Settings > Email Settings
From the Default Gateway select Custom SMTP and fill your details.
After filling your details, enter an email address to send a test email and check.