How to know if a specific animation is finished using animator

Hello I would like to know how to retrieve the information that my animation is completed and I would also like to act for example when this animation is a 25% using animator

Maybe could use animation events
https://docs.unity3d.com/Manual/animeditor-AnimationEvents.html

(can add them with script also)

Thank you so much you save me life