Damage every 3 seconds

Hi guys

I wanna that “PlayerLife -= 3 ;” apply the damage every 3 seconds. How can I do?

function OnCollisionEnter (collision : Collision)
{
	if (collision.gameObject.tag == "enemyBase") 
	
	{
	
		PlayerLife -= 3 ;
		
	}

	else 
	
	{
	
		return ;
		
	}
}

Use the first function to call a function doing the damage every 3 seconds.

Use the second function to stop it.

thank!!
This work great!!