You need two things.

First you need to install an SMTP plugin and then configure an SMTP server.

I suggest the WP Mail SMTP plugin which is free.

And for SMTP server I would suggest Sendinblue

Unless you do those two things, you won’t be able to send any emails from your website.