@مائدةالقرءان

1, use boolean variable if the number of records is  less or equals to   200, and if it is  more than 200 use set of acc ids

@amrishanshareef5906

1. Set of Account IDs to avoid recursion 
2. Map of trigger event and account IDs to avoid recursion

@Batemnanshsjsk

Create a set of processed records and check our new list contains processed records before execution

@sareddysrikanthreddy

we use ststic boolean and that is not best practice we use map and set to avoid recurssion,will not hit again and again

@chandraharika4003

We need to set static Boolean variable

@gauravbisht7482

We'll use static variable

@krishnabidwai6801

Use static boolean to avoid

@Batemnanshsjsk

Wouldn't static boolean stop all execution? Even the ones that should be processed. I believe static sets are the best approach