Memberships are managed by the App Store or Google Play, so you cancel there.
Cancel at least 24 hours before your plan renews. You keep your benefits until the end of the period you paid for.
Deleting the Terapeas app or your Terapeas account does not cancel the subscription. Cancel it in the store first.