There are credits and there are contributions:
You pay contributions when you work.
You get credits while being on SW payments under certain conditions.
You need 520 paid contributions to get a minimum pension payment.
If you have those 520 paid contributions you can use your credits as well to boost your pension. At the moment you can use all your credits- theoretically 30 years on top of your 520 paid contributions to get a full pension.
There will be a cap on the credits you can use- it will be only 520 SW credits within 11 years time. A lot of changes coming in now.
Everything is explained here- and not too hard to understand:
From 1 January 2025, if you apply for the State Pension (Contributory), there is a new way of calculating your rate of payment.
www.citizensinformation.ie
www.gov.ie