Once we have become familiar with working with our breath and have got used to doing a double length exhale, the next step is to hold our breath.
In pranayama there is a specific way of doing this, to be done with the bandhas.
This short tutorial outlines the basic fundamental points.