The reaction R−OH+HX→RX+H2O is a nucleophilic substitution reaction where the reactivity of R−OH will depend upon the stability of carbocation that is formed during the reaction via SN1 mechanism.
Tertiary carbocations are more stable due to + Inductive effect of alkyl groups then is secondary and least stable is primary carbocation.
The reactivity of alcohols will follow the order Tertiary alcohol > secondary alcohol > primary alcohol