Oral medications work by either increasing insulin production, improving insulin sensitivity, reducing glucose production in the liver, or slowing down carbohydrate absorption in the digestive tract, depending on the specific medication.