A decision of a judge or the court?

It can be called several things depending on the circumstances of the court action being brought. It can be called a "verdict" - a "judgement" - a "ruling" - an "order" - a "finding" - etc. If that doesn't answer the question, you will have to re-submit the question with more specific wording.