Hello and welcome to the site. Thank you for your question.You are correct in that your tax code would change to reflect receipt of state pension.Your pension provider would get a new tax code for you and hopefully your rebate will come through PAYE system automatically. The amount of repayment depends on your earnings to date and tax paid on those earningsIn the event you don't get a new tax code or get one that appears to be incorrect, my advice to you is to contact your tax office at that point. They will be able to amend your tax code to reflect change in your financial circumstances.More information on how to contact HMRC helpline can be found here
I hope this is helpful and answers your question.
If you have any other questions, please ask me before you rate my service – I’ll be happy to respond.