Strange Life of Ivan Osokin
P. D. Ouspensky
 When the protagonist realizes that he can recall having lived his life before, he decides to try to change it. But he discovers that because human choices tend to be mechanical, changing the outcome of one's actions is extremely difficult. He realizes that without help breaking his mechanical behavior, he may be doomed to repeat the same mistakes forever.