Review an adverse administrative decision

What must happen before a party can ask a court to review an adverse administrative decision it has received?