You can change your attitudes by changing the way you behave.
It's been said before that our thoughts and feelings influence how we act, but it turns out behaviour also has an effect on what kind of person someone becomes- to some degree at least!
A lot people think their moods determine who they are as persons; however this may not always be true because sometimes things like habits or urges could accomplish similar results for certain individuals.