How to play audio only one time?

I use a native audio plugin to play audio I want to play audio which is on the root page of the app I want to play it only first time how can I do it ??

make it like toggle if you play one another will off.