How to do risk assessment in case of multi product facility of API considering cross contaminations?

Looking for some feedback from some of our members dealing with APIs manufacturing. Thx

How to do risk assessment in case of multi product facility of API considering cross contaminations?