This document describes the compound for inhibiting or preventing protein aggregation, the method for preparing such compound, pharmaceutical composition and drug comprising such compound, and the method using this compounds for treating patients condition relevant to protein aggregation, disease or illness.