My car keeps over heating when I’m driving

When was the last time you drained and refilled the radiator.

Reason I ask is many times after I have refilled my rad I get an air pocket and untill it gets worked out the rad will foam over as you described.