For tax years 2022/23 and 2023/24, you needed to pay Class 2 NIC if your profits were above the Lower Profits Limit.
For 2024/25 onwards, if your profits are above the Small Profits Threshold (£6,725) Class 2 contributions are treated as having been paid to protect your National Insurance record. This means you do not have to pay Class 2 contributions.
If your profits are below the Small Profits Threshold (£6,725) then you can choose to pay voluntary contributions.
For further information please refer to https://www.gov.uk/self-employed-national-insurance-rates