Ammonia poisoning is from poor water quality... like a newly set up tank or one that has just had a bunch of fish added or been too thoroughly cleaned. It is from the water, not really a disease, so it isn't contagious per say but it will affect all your fish, even if some aren't showing it. The cure/treatment is really easy. Just change out some water... at least 25%, 50% is even better. Make sure that the water you replace it with is dechlorinated and about the same temperature. Even if ammonia poisoning isn't the problem, a water change won't hurt anything and it might help a bit if something else is wrong.