Not much to do there, just a cooler where you absolutely are going to have to go broke.
Frankly I see this a bit too often - people seeming to beat themselves up over situations where they absolutely played correctly but still lost for whatever reason (be it a cooler or a suckout, no matter). And that's rather counter-productive - sometimes you have to lose, just the way it is in poker.
Much better to stress over situations where you might legitimately have been able to have a better result if you perhaps played the hand sub-optimally and such. No point in worrying over an unavoidable bad beat or cooler - might as well just not play poker at all if that's going to get to you (note that I'm not saying/implying that this is the case with you specifically, just something I feel like I see too often). But for that reason in part, I probably wouldn't post such a hand to begin with! There are two main reasons people post hands in general: one if they want people's opinions on how they played it/if they played it wrong or two because they want people to feel bad for them/commiserate with them. And with this hand, you clearly can't be concerned about the former being true, so then I personally would not post it