My car keeps over heating when I’m driving

When does it overheat? Cruising or stoplights?