Hi,
If the payment was made by PAYE, we would have record of the payment received. If you are not expected to receive any further income for 2024 to 2025, you can claim a repayment using a P50 form. You can see information here:
Claim back Income Tax when you've stopped working (P50)
If you are expected to receive further payments, you should hand your P45 to the new income source and then you can use the following link to check your tax code is correct:
Tax codes
Thank you.