Go off on a tangent

Meaning: To start talking about a different subject that is not directly connected to the main topic.

Example: The speaker went off on a tangent and forgot the main point.