Originally barbers were also minor surgeons. They would bleed people when that was considered a rational medical treatment.
Also the reason for the barber’s pole.