What is the difference between hyper and hypoglycemia and how do you eat healthy if you have either one?

Are these a precurser to diabetes? What are the symptoms causes and effects? Are they preventable?