What type of “Warned” are you asking about?
To be in a possible problem or to give someone forceful or cautionary advice about their actions/ conducts.