how to stay motivated while getting fit?

How do you do it? I get frustrated with myself when I don't see the results I want, and tend to give up. What can I do to stay motivated?