When it comes to logistics, Jim Cramer says it's a good idea to stay away from Ryder System (R - Get Report) .

"Ryder System came on "Mad Money" and they told a pretty good story about logistics, and then their stock just deflated," Cramer said.

Ryder's stock was trading at a deep discount to its 52-week high of $100.64 on Wednesday. The company closed at $65.51, 35% below its high, which the company reached on April 23, 2015.

"If I'm going to be in logistics, I'm going to be in UPS," Cramer said.

United Parcel Service (UPS - Get Report) saw a 26% increase in its fourth-quarter earnings in 2015, as compared to 2014 results. The company announced earnings per share of $1.57 for the fourth quarter of 2015 on February 2.

During the fourth quarter of 2015, UPS delivered 1.3 billion packages, an increase of 1.8% over the same period during the year prior.

"This was the fourth consecutive quarter that UPS exceeded our financial expectations," said Richard Peretz, UPS CFO in a press release. "Our business generated strong results in 2015. While we face uncertain macro-economic conditions, we are continuing to invest for profitable growth."

Since then, share prices have soared. On Wednesday, UPS closed at $105.54, up 12% since February 2, when it was trading at $94.69.

"Our guidance for 2016 full-year diluted earnings per share is $5.70 to $5.90 an increase of 5% to 9% over adjusted 2015 results," Peretz added in the release. "Excluding the 2015 discrete tax credits, the growth rate is 7% to 11%."

Ryder System provides commercial fleet management and supply chain solutions to small businesses and large enterprises worldwide.

UPS is an Atlanta-based package delivery company and a global provider of specialized transportation and logistics services.