There is no such thing as a carpet moth, they are case bearing moths who's larvae eat keratin.
I.E wool, human hair, finger nails and dead insect exoskeletons.
When the larvae are seen in their little silk discs hoover the living daylights out of them.
any that have come to maturity already will fly away and return next year to lay their eggs.
the only sure way to totally eliminate the problem, is to break the cycle, using insecticides will
only kill what is already there, or those that appear whilst the systemic timing of the insecticide
still works. sucking them out of their silk disc is enough, they cannot survive outside of it.