How to cancel App subscription ?

IOS : https://support.apple.com/en-us/HT202039 ANDROID : https://support.google.com/googleplay/answer