do you have to take medications for type 2 diabetes