Two ways :
(i) as cow dung cakes
(ii) as biogas
Biogas is better than cow dung cakes because it has high heating capacity and is non-polluting as it burns without smoke and leaves no residue like ash. Slurry left in the biogas plant is a good manure for fields.