Earnings on Excess Contribution

Hi.  I would appreciate it if someone can help me with the following situation:

 

I already received 1099-SA for 2022 HSA distribution I made for medical bills (regular distribution).

 

While doing taxes, I realized that I made excess contribution for 2022 and I withdrew for excess distribution before tax filing deadline (April 1, 2023) to avoid penalty.

 

I want to ask: Apparently, I have earnings on excess contribution.  When do I report the earnings on excess contribution.  Do I report it in 2022 or wait until I get the 1099-SA for 2023 and report it next year?  I am not sure if I need to report earnings on excess contribution this year as 2022 1099-SA does not mention any of the earnings.  If I do need to report it in 2022 to avoid fees, where do I report it?

 

Thank you!!!