Methyldopa is used to control high blood pressure. It works by relaxing the blood vessels to allow blood to pass through more easily.