PCI DSS how works?

i have an ecommerce website
and i want to put the form of card into my checkout page
but payment gateway’s ask for PCI DSS compliance
how this works and how i get?

Cloudflare its self is PCI compliance but it would matter on whatever the backend of your web app is.