RecruitingDevice studyEffect of 2-Week Continuous Glucose Monitoring on Glycemic Management in Patients New-to-Insulin on Hospital DischargeThe proposed study will be a randomized, prospective, non-blinded study of 120 participants with type 1 or type 2 diabetes that are new-to-insulin on hospital discharge. On hospital discharge, participants will be assigned to either the intervention of wearing a continuous glucose monitor (CGM) for 2 weeks or blood glucose monitoring (BGM) for 2 weeks. They will have a 2-week follow up visit, during which insulin doses will be adjusted as needed, and a 3-month follow-up visit, at which point HbA1c will be measured.