Read the dictionary definition of warn. All definitions for this word.
1. notify, usually in advance
1. I warned you that I would ask some difficult questions
2. ask to go away
1. The old man warned the children off his property
3. notify of danger, potential harm, or risk
1. The director warned him that he might be fired
2. The doctor warned me about the dangers of smoking
4. advise or counsel in terms of someone's behavior
1. I warned him not to go too far
2. I warn you against false assumptions
3. She warned him to be quiet