If the brain expects that a treatment will work, it sends healing chemicals into the bloodstream, which facilitates that. And the opposite is equally true and equally powerful: When the brain expects that a therapy will not work, it doesn't. It's called the 'nocebo' effect.
If we could get your subconscious mind to agree with your conscious mind about being happy, that's when your positive thoughts work.