Prevention of SJS involves careful prescription practices, especially for high-risk medications. Genetic screening can identify individuals at increased risk for SJS, particularly among certain ethnic groups. For instance, the presence of the HLA-B*1502 allele in individuals of Asian descent is associated with an increased risk of SJS when exposed to carbamazepine.