Methylxanthines are used to treat asthma, chronic obstructive pulmonary disease (COPD), and certain other lung conditions. They work by relaxing the muscles in your airways, making it easier to breathe. These medications typically come as oral pills. Examples include theophylline (Elixophyllin, Theo-24). You can use these treatments to help improve your breathing.