Alcohols can be converted to alkyl halides using phosphorus halides ($\text{PX}_3$ or $\text{PX}_5$) or thionyl chloride ($\text{SOCl}_2$).
Specifically for bromination, $\text{PBr}_3$ is the standard choice.
For chlorination, $\text{PCl}_3$, $\text{PCl}_5$, or $\text{SOCl}_2$ are commonly used.