The brainstem measures how much carbon dioxide is in a person's blood. If there is too much carbon dioxide, the medulla tells the body to breathe faster. This helps the person breathe out the extra carbon dioxide. Once the amount of carbon dioxide in the blood is normal again, the medulla tells the body to breathe slower again.