Paprika goes stale and loses its taste and fragrance quite fast. You should be able to tell from the color, since it goes from vibrant red to dull brown, but artificial colors are often added to mask this.
My hack is to use toothpaste-like tubes of Hungarian gulyaskrem ("goulash cream"), which seem to preserve the flavor much better. Available at any Eastern European deli.