Lottery or Inheritance Scams are developed by sending letters or emails saying that you have won the lottery or a distant relative have died and you are entitled to a large inheritance.
These are all illegitimate and any money you send these people cannot be recovered. They scammers even go so far as to send a fake letter showing to be from the FBI declaring that they are legitimate.
Any legitimate lottery or attorney would not contact you by email or mail to say you have won, or ask you to pay money to secure your winnings or your inheritance.
The best thing to do is delete these emails when you get them.