If your both parents are having diabetes then then there is 50% chance that you will have diabetes. You can check this post on Healthline where everything is explained in detail. Apart from this, lifestyle also plays a crucial role. You should start cycling, jogging in the or go to gym. You can exercise at home. Bring home a treadmill, spin bikes or you can utilize a recumbent bike to control diabetes. I once read in news that how a person who was detected with diabetes started cycling and this kept his diabetes under control. So, stay fit and this can considerably reduce your chances of having diabetes.