What is your age as of now?
Have you been treated for your diabetes/or is it controlled.
Loss of weight and Smell is due ketoacidosis
and your Blood Sugar Level being high .You need to recheck your HBA1C/Fasting Blood sugar to continue with titrating treatment with insulin
Meanwhile you have to avoid DKA. contact your doctor for full care on diabetes.