Hi,
It would depend on whether you have any other credits on your records, and the number of weeks you were self-employed.
For example, if you were only self-employed and you were self-employed for the whole tax year (52 weeks) your income would need to be above the small profit threshold (£6725 for the 2024-2025 tax year) to make that year a qualifying year for pension purposes.
Please see further information regarding self-employed National Insurance contributions here -
National Insurance: introduction National Insurance classes
Thank you.