You need to contact the merchant to cancel the subscription or recurring transaction as you would if you had used your physical card.

For more details, see
How to dispute a credit card transaction
Edit, reorder, or remove payment methods - Google Wallet Help
Manage recurring payments and subscriptions - Google Pay Help