thats very easy
Go at the last frame of your animation, click on frame end press f9 to open actions panel, and write this: stop();
ps. if you have your animation inside a movieclip then you must put stop command in the last frame INSIDE your movieclip