collision of two objects

Sound effects are emitted before objects collide with each other. How can I fix it to make a sound when colliding?
private void OnCollisionEnter2D(Collision2D collision)
{
{
if (collision.gameObject.tag == “ground”)
{
SfxCtrl. SoundPlay();
Destroy(gameObject);
}
}
{
if (collision.gameObject.tag == “rtan”)
{
SfxCtrl. SoundPlay();
gameManager.I.addScore(score);
Destroy(gameObject);
}
}

 }

There is not enough information to give a satisfying answer. Here is a list of what you might want to look into:

  • Does the sound has the play on awake box ticked ?
  • Does the collider fit what you are expecting ?
  • Do you have other sound that may be forgotten in your scene ?