DoH, DoT and DoQ send DNS queries encrypted, over HTTPS, TLS or QUIC, so the networks in between can't read or change them.
How it works
Classic DNS travels in plain text over UDP port 53, where any network on the way can see the names you look up or answer with something else. DoH looks like ordinary web traffic on port 443, DoT uses its own port 853, and DoQ runs over QUIC with fewer round trips. Speed depends more on how close the resolver is than on the protocol.
What you can do
Time several public resolvers from your own network over each protocol, then set the fastest one in your browser, system or router.