Beating the level 6 boss in Sonic Rush comes down to staying mobile and timing your attacks. Whatever you do, don't stand still — keep running and dodging. If you're unsure whether you can survive a hit, grab rings one at a time to stay protected.
When the boss unleashes its bullet-hell attack and then jumps down to the field before bouncing back up to crush you, dodge and leap onto its head. It will also try to swoop in — avoid going too far to the left or right, but don't sit in the exact middle either. When it pecks at the ground, jump on it again.
When the boss blows its fans, mash the A and B buttons together to close the distance, and it will jump up once more. From there, it's simply a matter of repeating these attacks. Good luck!