Javascript How Can I Execute A Function With Onclick In Nextjs

Javascript How Can I Execute A Function With Onclick In Nextjs