All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
We are not aware of any sound or authentic evidence from the Prophet about using pepper and chilies to remove the effects of evil eye or to protect from it.
A Muslim is obliged to follow the authentic Sunnah and use permissible medicines for all kinds of diseases while avoiding all kinds of innovations and superstitions which result from ignorance and lack of knowledge.
Allah knows best.