The steps differ slightly between phones. These are for the Gmail app, which is on most Android phones.
- Open the Gmail app. Tap your profile picture, then Add another account.
- Choose Other.
- Enter your full email address and tap Manual setup.
- Choose Personal (IMAP).
- Enter your mailbox password.
- Incoming server: mail.yourdomain.com, port 993, security type SSL/TLS.
- Outgoing server: mail.yourdomain.com, port 465, security type SSL/TLS, with Require sign-in turned on.
- Finish the setup and choose how often to check for mail.
Full settings are in Email settings for any app.