How to find demat account number through pan card

How can I use my PAN number to find out my demat account details?,

Contact your DP and provide your PAN card details. The DP can help you find your demat account number associated with your PAN. You can also check your demat account statement or welcome letter.