It happens when sometimes you transfer your cryptocurrencies to the wrong place.
Since blockchain transactions are irreversible, they can neither be canceled nor reversed once transferred. If you end up sending the funds to the wrong person, you may have to contact them and request a refund. If you don't know whom the address belongs to, you can't do anything else to retrieve the funds back.
Sorry for your loss.