I'm guessing it's caged inside a bracket? If it's real snug in there (can't fit a wrench) and you can at least see it, jam a flat head screwdriver (preferably with a square or hex shaped shaft) between the flats of the nut and the side of the bracket - on the side that will try to pull the screwdriver in deeper as you loosen the nut.