Try not to spend more money than necessary.

Literal

Necessary above [to-に] money [object-を] using [not-ないように] [command-しなさい].

使わないようにしなさい combines negative purpose (ように 'so that [you] don't') with the polite imperative しなさい. Parental or teacher-style advice about spending.