If you plan using cloudflare you have to use their nameserver. You specify this in your one admin panel.
There’s a wizard in cloudflare that should walk you through the process.
You should also check the subdomain is configured in cloud flare after its setup correctly as your name server