From the year you turn 18, you can pay into the pillar 3a. However, this is subject to the condition that you have an earned income subject to AHV contributions.