Automatic contacts are detected at the start of the analysis, before meshing starts. You do not have to take direct action for automatic contacts to be generated.
You have created a new study that includes Static stress, Nonlinear static stress, Thermal, Thermal stress, Shape optimization, Modal frequencies, or Structural buckling.
To define the contact tolerance, click Automatic Contacts before meshing or running the simulation.