how to treat and control diabetes