In order for your funds to be tax-free upon a distribution, they must be used on qualified medical expenses (as defined by the IRS). The IRS Publication 502 has the full list. We've tried to distill this down to make it easier to digest. See our “What’s Eligible” section for additional detail.
Source: IRC Section 213(d).