Well, TO is basically when you exchange something with someone/thing. "I gave it TO her". FOR is more like "instead of" or "in benefit of" someone. "I did it FOR her because I like her." I like her, so I did sonething in her benefit. And I think you may use towards intead of "TO" when you're talking about a place "I'm going towards London." I'm going in London's direction, I'm going there. Or when something is in front of another. It's towards something. And you can use towards instead FOR when you have feelings FOR someone, for example, you have feelings towards someone. And also when you mean "in relation to/ regarding to", You have a bad attitude toward the future.
Well I hope I may have helped. There are more uses for those words, but I think these are the basic ones.