Stop on final slide

Stop on final slide

Hi there
I have 28 slides in total but I need it to stop on the final one
Can someone give me the script for this...

Thankyou