Advise and advice look similar, but they are different parts of speech and cannot be used interchangeably.
Advice (with a soft “s” sound) is a noun. It means a suggestion, recommendation, or guidance.
Advise (with a “z” sound) is a verb. It means to give someone advice.
Rejoins 500 000 personnes qui révisent les bases de l'orthographe sur l'application Français sans Fautes