Collision in code

How can i see if i am colliding with something ? What should i write ? C# please

Thank you so much

void OnCollisionEnter(Collision col){
Debug.Log(“Something collided”);
}