Should you buy a digital piano brand new or used?

Should you buy a digital piano brand new or used?