Definitions of warn
to tell someone about a possible risk, harm, danger or unpleasant situation
I have warned you against this course of action.
to threaten someone, a business entity or an institution with punishment for a wrongful action
A High Court judge has warned banks not to behave unreasonably when customers sue for unlawful charges.