Both sound awkward and unnatural, both in vocabulary and structure. I suppose that you mean: I've figured out how to apologize / express my apologies. I've come up with a way to show my regret.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.