How to apply explosion prefab to an object upon collision

Hello I turned a explosion sprite sheet into a prefab & having a hard time applying it to an object upon collision. Any help?

Just instantiate the prefab in the collision method?

Instantiate the prefab OnCollisionEnter with the objects.

void OnCollisionEnter(Collision c)
    Instantiate(prefab, c.gameObject.transform.position, someRotation);

For further details of Instantiate read this documentation