How to treat type 2 diabetes