How to make a disappearing platform, which disappear after you touch it?

I want to make a platform which disappear a few seconds after the player touch it. How can i make it?

add to the platform a script with a collision evemt like this

IEnumerator OnCollisionEnter (Collision coll) {

    yield return new WaitForSeconds(2);//wait x amount of seconds
    Destroy(gameObject);

}