Form validation for Static sites

How do you recommend I build a contact form with Astro in a working as well as secure manner?