Perpendicular lines

This has been discussed before. Haven’t found an answer.

Given a line drawn at any angle, how can I choose a point along that line and draw a perpendicular to it?