I'll need a little more to go on — Sonic Colors has quite a few bosses, and nobody can guess which one you're stuck on.
Tell me the level or the boss's name and I can give you something useful. In the meantime, two things solve most of them: keep your boost in reserve for a quick escape, and remember that nearly every boss in the game has a glowing weak point you hit with a homing attack after it finishes an attack cycle.