My father advised me not to be lazy.

Literal

Father [topic-は] me [to-に] be-lazy [don't-な] [quotative-と] advised.

怠けるなと忠告した — 怠けるな (don't be lazy, using the negative imperative) is embedded as quoted speech. 忠告する (to advise/warn) is a formal suru-verb.