Start here. This is the direct spoken answer to practice first.
Why this question matters
Compiled EF Core queries reduce repeated query-compilation overhead for stable, frequently executed shapes. They do not reduce database I/O, repair poor SQL, add missing indexes, or help enough to justify complexity without measurement.
I would consider compiled queries for a hot path that runs the same query shape very frequently. They reduce EF Core's query compilation overhead by reusing a compiled representation. They do not fix a bad SQL plan, missing index, over-fetching, N plus one behavior, or too much data returned. I would only reach for them after measuring that query compilation overhead matters.