To enable SPF, you need to create a DNS TXT record for your domain. This record specifies which mail servers are allowed to send emails on behalf of your domain.
Login to your DNS hosting provider. Navigate to the DNS management section. Add a new TXT record with the following format: v=spf1 include:example.com -all. Replace "example.com" with the domain of your email service provider. Save the changes.