@Satan phil,
The problem of free will is not easy to solve. Many philosophers and scientists are doing research in the field of neuroscience, but they still haven't gotten a positive answer yet. The question is whether or not we have conscious control over our behavior or is it subconscious? Most neuroscience studies seem to show that we don't have conscious control, and that our subconscious brains make the decision before we're aware of it being made. However, some say that there is enough time for the agent to consciously veto the action. This position was upheld by
Benjamin Libet after his experiments on free will.
Philosopher and Scientist Dan Dennett criticizes Libet's experiment arguing that people will have to shift their attention from their intention to the clock, and that this introduces temporal mismatches between the felt experience of will and the perceived position of the clock hand. Dennett's view of free will is compatibilism with an evolutionary twist. Dennett believes that free will is the ability of the agent to anticipate likely consequences and make rational decisions to avoid certain consequences in the absense of coercion. He argues that we cannot escape determinism and causality; and that there is no need to escape these forces to have a logical conception of free will.
I'm personally with Dennett on the problem of free will. I also don't believe in separating the self from the brain or the mind. The brain is mechanical, but the idea that we have no say in how we "program" our brains to respond to given circumstances results from the belief that we are separate from our brains. You are your brain.