to harm
to damage
to be detrimental to
Ne fais rien qui puisse nuire à ta réputation.
Don't do anything that could harm your reputation.