You should remove all organic materials such as paper, fabrics and grains that could attract silverfish.
In addition to using insecticide sprays specifically designed to combat pinworms, there are natural remedies, such as talcum powder, peppermint, and eucalyptus oil, that have been shown to be effective in repelling pinworms.
Certainly, maintaining relative humidity below 50% can help prevent the proliferation of silverfish, so if you live in particularly humid areas, it’s best to invest in a dehumidifier.