ESMA enhances investor protection by developing guidelines and standards to ensure that investors are well-informed and treated fairly. It also monitors financial markets to detect and mitigate risks, and it has the authority to ban or restrict certain financial products if they pose a significant risk to investor protection.