Yellow nails could be a sign of infection

Horizontal fingernail lines could be a sign of a chronic disease
Black nails are normally harmless, and will usually go away on their own