This invention provides for a pharmaceutical or veterinary paste or gel formulation which may comprise an effective amount of a therapeutic agent optionally an absorbent or a viscosity modifier optionally a hydrophilic carrier, a colorant, stabilizer, surfactant, or preservative and optionally an antioxidant, solvent, flavoring, buffering system or thickener and methods of preparing these formulations. This invention also provides for, inter alia, oral homogeneous veterinary pastes or gels for the treating, controlling and preventing of endo- and ectoparasite infections in warm-blooded animals, such as birds, horses and household pets.