Get coordinates from colliding tile

I´m very new to Unity and want to make a 2D platformer like Mario with Tilemaps. But I can´t figure out how to manipulate a specific tile in a tile map. Like when the Player hits a Block that only the one Block disappears or just collect one Coin. I have separate tilemaps for these Blocks. So I want something like this…

void OnTriggerEnter2D(Collider2D col)
    {
        coin = col.gameObject;
        points += 1;
        coin.setActive(false);
        }

If you aren’t doing any scaling and keeping 1 tile is 1 unity unit, just floor your localpos to get the tile index.

Vector3Int local = Vector3Int.FloorToInt(transform.InverseTransformPoint(worldCoord));
Tilemap map = GetComponent<Tilemap>();
TileBase tile = map.GetTile(local);