To use a steel square for marking window and door trim angles, first, place the square against the edge of the trim. Then, adjust the square until one side aligns with the trim edge and the other side is perpendicular to it. Next, use a pencil to mark along the edge of the square, creating a straight line that indicates the desired trim angle. Repeat this process for each corner or angle that needs to be marked.