When should you "tell" and when should you use "say"?

When should you "tell" and when should you use "say"?

"Tell" is followed by an object and "say" is not.

Examples:

1. She told me that I was nice.

2. She said that I was nice.

3. They told us to come back soon.

4. They said that we should come back soon.