Wait for function to finish until another function to run - C#

Please help how to do this. I have tried all I can and can’t do it.
I want to finish first the animation: iTween.MoveTo(gameObject, attributes);
then pause the game with : Time.timeScale = 0.0f;

the code is

iTween.MoveTo(gameObject, attributes);
Time.timeScale = 0.0f;

what happens here is it pauses first before animaton. any help please?