One of the main causes of adult blindness and a frequent consequence of diabetes is diabetic retinopathy (DR). To avoid visual loss, DR must be promptly identified and classified. In this article, we suggest an automated DR detection and classification method based on deep learning applied to fundus pictures. The suggested technique uses transfer learning for classification. On a dataset of 3,662 fundus images with real-world DR severity labels, we trained and validated our model. According to our findings, the suggested technique successfully detected and classified DR with an overall accuracy of 78.14%. Our model fared better than other recent cutting-edge techniques, illuminating the promise of deep learning-based strategies for DR detection and management. Our research indicates that the suggested technique may be employed as a screening tool for DR in a clinical environment, enabling early illness diagnosis and prompt treatment.