The invention provides controlled release oral dosage formulations containing one or more active agents, and methods of using same. In one aspect, the formulation is in the form of a trilayer tablet containing a core or central layer and one or more barrier layers. The core may contain one or more enteric materials or polymeric materials which modulates the release of the active agent.