Botox works by relaxing overactive muscles and can also block sweat glands as well as blocking the release of certain chemicals in the brain which are known to cause migraine headaches. In the first case, for example, a Botox injection to treat frown lines works by basically not allowing the facial muscles to contract giving a more youthful appearance due to the absence of lines on the skin.