Credit card charge

My credit card was charged a renewal fee last week.  I want to cancel subscription and get a credit applied to my card.  How do I get the credit?