Hi,
Your code would be adjusted to include the pension relief going forward but if it was a one off contribution this would need to be removed.
You can contact HMRC here.
Income Tax: general enquiries
On your 2022 to 2023 Self Assessment you would only declare pension contributions if you made any.
Thank you.