Your health care provider can diagnose diabetes by checking whether you have a high level of sugar in your blood or urine. The most reliable way of measuring your blood sugar level is by taking it before you eat or drink anything. This is called fasting blood sugar.