As a justice or justices write an opinion, they must be mindful of what..

decisions, that apply to the case they are judging.
or previous court

decisions that have set precedent. They must also consider the language and intent of the relevant laws and statutes, as well as any relevant constitutional principles. Additionally, they should take into account the practical implications of their decision and how it may impact society as a whole. It is important for justices to approach each case with careful and unbiased consideration, adhering to the principles of justice and the rule of law.