If you have diabetes, it is generally recommended to have a comprehensive eye exam at least once a year. This helps in early detection of diabetic eye diseases like retinopathy and macular edema. More frequent exams may be necessary if you have existing eye conditions or if your eye doctor recommends it.