Should I fix or buy a new rear bumper?

My rear bumper is cracked and has a huge dent. Should I buy new bumper and paint it or fix it? It's 2004 coupe Honda accord.

If the structural integrity of the bumper is compromised, it mail fail to protect you in the event of a rear collision. If it's just cosmetic, do whatever is most cost effective. Otherwise, replace it.

Thank you