While working with SharePoint list with Power Automate for trigger 'When an item is created or modified', after performing the relevant actions such as Send an email etc , while doing 'Update item' action, the flow can fall into an infinite loop.
In order to avoid this, click on ellipses (three dots) on 'When an item is created or modified' trigger, navigate to Trigger conditions at the bottom and add @not(equals(triggerOutputs()?['body/Editor/Email'],'abc.def@microsoft.com'))
Please note, abc.def@microsoft.com is nothing but the account on which the power automate bot is configured to run on and can be altered as desired.
Below screenshots for reference. Hope it helps!