Primary prevention refers to measures taken to prevent the occurrence of cancer before it develops. This involves reducing the risk factors and increasing protective factors associated with cancer. Unlike secondary prevention, which focuses on early detection, primary prevention aims to stop cancer from developing in the first place.