I have thought on this and the method I find helps me is to surround my self with people i like. If i am around friends for long enough it will have an effect on me and make me want to write. Also reading something great, or listening to a great album works too.