Detection of toxic side effects involves a combination of preclinical and clinical studies. In preclinical studies, animals and in vitro models are used to assess the safety of a substance. Clinical trials in humans further evaluate these effects under controlled conditions. Additionally, pharmacovigilance plays a crucial role in identifying side effects post-marketing.