Best practice for depth of field

Was wondering how people are creating their depth of field? Is it best to play with the actual camera lens component or to play with the depth of field effect settings and set up Circle Dof, or Gaussian etc…