HSA deductions

If I use my some.of my HSA money for non-medical, how do I go about paying the 20% penalty? 

I know I need to do that, but am not sure how to go about that process?  Is it done when I file my return?