There are 2 ways to link :
1) Do it from the Income Tax Website as shown below
2) Send an SMS to 567678 or 56161 from the registered mobile number to link or check the status. The SMS format is, UIDPAN <space> <12 digit Aadhaar> <space> <10 digit PAN>
The process might take 4 to 7 working days to be updated and you may allow this time get your PAN linked to Aadhaar successfully. You may check the status of linking here.
Linking your PAN with Aadhaar is mandatory from 1/4/2023.