During dehydration of alcohols to alkenes by heating with conc. H2SO4, the initiation step is
protonation of alcohol molecule
The −OH group is a poor leaving group and it becomes a good leaving group (H2O) after protonation. As to exactly how the leaving group departs, that depends on the nature of the substrate and the ease with which a carbocation can be formed.