Used Car Inspection before purchase

How would I go about finding an expert to inspect a used car before I buy it? Do nearby mechanics usually offer this?

Curious to how this process usually goes.

Thanks!