You do not enter your HSA contributions on your W-2
To enter your medical expenses -
Click on Federal Taxes (Personal using Home and Business)
Click on Deductions and Credits
Click on I'll choose what I work on (if shown)
Scroll down to Medical
On 1099-SA, HSA, MSA, click the start button