Capgemini interview question

How to Fix MIXED DML Operation Error in Salesforce?