If this worked, however, there would be the contradiction that, if you change your own past this way, you are no longer the same person. Particularly, you are not - and have never been - the person who found it necessary to send back a message to win the lottery. Because you would have been a lottery winner all along. So you would not send the message back in time. Therefore, it cannot be you but at best an alternate version of yourself in a parallel universe who get the cash.
Folks, you all need to read a lot more science fiction.
Verklagekasper, what you are describing is the Grandfather Paradox, except that you go back in time to win a lottery, rather than kill your grandfather.
Because it's more dramatic, let's use the classic formulation, where you invent a time machine, travel back to the past, kill your own grandfather, and thus were never born and never went back to kill him, etc.
The simplest way to deal with this paradox is to assert alternate time tracks, which has been done on this thread. Let me list a few more possibilities
1- When you change the past, you change the future, but the time traveler continues to exist. From the point of view of the altered time line, the time traveler appeared from nowhere and killed his grandfather amd
a) got back into the time machine and disappeared forever (this is identical to one of the two tracks in a multi-track model)
b) got back into the time machine and reappeared in a "new" present, where history was slightly different, and he had no identity.
c) got back into the time machine and found that the machine no longer works (because it was never invented), so he gets arrested, tried and convicted for murder.
d) got back into the time machine and found that the machine no longer works, so he is stranded in the past. He fell in love with his grandfather's widow and conceived a son who was his father, and the cycle repeated
e) there exists a "time police" who look for the telltale marks of historical revision, and they appeared after the traveler appeared in the past and arrested/killed him before he was able to kill his grandfather
2 - You can travel to the past, but the universe preserves its temporal integrity, so
a) there are regions of the past, such as your grandfather's era, which the time machine simply will not reach. Note that you can go back to the Cretaceous and kill a T. Rex, because nature will "fill in" the effects after a few years, and the long-term effect is nil.
b) when the traveler tries to shoot his grandfather, the gun misfires. When he tries to approach to do it with a knife he steps in a pothole and breaks his ankle. His grandfather never knows there was a problem.
c) when the traveler exits his machine, he is hit by a meteorite and killed.
d) when the traveller decides to build his machine, he is hit by a metorite and killed.
e) when the traveller decides to build his time machine (or when anyone decides to build a time machine) the sun goes nova and destroys the human race.
Finally, of course, there is the non-technological version: the time traveller goes back in time, kills his grandfather, then jumps back into his machine and returns to the present. Nothing has changed. "It is a wise man who knows his own father.", or grandfather in this case.
And for yet another version, I really recommend that you rent the movie "Primer". Then find some websites that have diagrams.