Mark Cuban is a billionaire businessman, a TV star and a celebrity team owner. He's also human, just like the rest of us.

Cuban is an example of how even the richest and most famous people in the world fail. But his story shows that the right response to failure can lead to success.

Take a look at seven examples of how Mark Cuban has failed — sometimes in spectacular fashion — and see the lessons he learned, which can help you, too!

7. FAIL: Bombing at lots of early jobs

Close-up Of A Craftsman Cutting Carpet With Cutter
Andrey_Popov / Shutterstock
Mark Cuban was a terrible carpet installer.

Many people experiment with different jobs before settling on a bona fide career, and that includes Mark Cuban.

His parents encouraged him to learn a trade, because they said someone with valuable trade skills would never have trouble finding work. So, Cuban started off by working as a carpet installer.

One problem: He was brutally bad at it.

He then went into the restaurant business. As a server, he couldn't master opening a bottle of a wine. As a cook, he could never tell if the food was ready unless he ate some himself. So, what did he learn?

LESSON: Just keep looking for the win

via GIPHY

Some people would give up hope in the wake of so much failure and might even conclude that they just weren't good at anything.

But the takeaway for Cuban was something completely different.

"I've learned that it doesn’t matter how many times you failed,” Cuban says. "You only have to be right once."

He learned to move on from failure quickly. And, as a result, he's been right far more than just once.

6. FAIL: The NBA star that got away

RIO DE JANEIRO, BRAZIL - AUGUST 4, 2016: Olympic champion Jordan DeAndre during men's basketball team USA press conference at Rio 2016 Olympic Games Press Center
Leonard Zhukovsky / Shutterstock
Mark Cuban failed to sign Los Angeles Clippers star DeAnde Jordan to the Mavericks.

Cuban is the owner of the NBA team the Dallas Mavericks.

In 2015, he worked out a four-year, $80 million deal so Los Angeles Clippers star player DeAndre Jordan would join the Mavericks.

Cuban and Jordan sealed their agreement with a handshake — but didn't sign a contract.

A short time later, Jordan re-signed with the Clippers, and spurned Cuban and the Mavericks in the process. What did Cuban get from this experience?

LESSON: Always get it in writing

business man signing contract document on office desk
Kashin / Shutterstock
Cuban learned that a signature is way more important than a handshake.

Cuban learned a number of lessons from that situation, including: always get things in writing; and always trust your gut.

"I think the only thing I would have done differently is make [Jordan] change his Twitter profile picture right off the bat," Cuban said afterward. "I think by having it just stay the way that it was, it gave him an out. He hadn't fully committed."

Cuban added, on radio's The Herd with Colin Cowherd: "Having him change his social media profiles right then was something I thought about and I thought, 'Nah, that's not an issue. Let's not bring that up.' But it happens. You move on. Next."

5. FAIL: Powdered milk venture goes sour

Powder with milk
Filimages / Shutterstock
A powered milk venture curdled for Mark Cuban.

Cuban had an entrepreneurial spirit early on and decided to quit a job at a PC store to go into something far different.

He'd seen an ad for a powdered milk product, and it looked like an opportunity. Cuban figured that everyone wants milk, and the powdered version was more cost-effective and tasted nearly the same.

Today, there's no powdered milk business in his portfolio. Why not? You guessed it: The idea turned out to be a massive flop. But Cuban found out something important.

LESSON: Think things through

via GIPHY

He was surprised by the failure but learned to hone his business savvy and make better decisions.

"I honestly thought it would make a killer business," Cuban recalls, "and it lasted minutes."

Since then, Cuban has had other businesses fail, but now he pursues opportunities by fully evaluating the market and running extensive tests before committing heavy capital.

Giving decisions more thought before rushing into them is the key to making fewer mistakes.

4. FAIL: Not getting on board with Uber

MARYLAND, USA - JULY 12, 2016: A luxury Mercedes-Benz being used as an Uber transportation vehicle. Uber Technologies Inc. is an American multinational online transportation network company.
Jeramey Lende / Shutterstock
Mark Cuban missed his chance to ride with Uber.

We've all had opportunities we wish we had pursued but ultimately missed out on. Mark Cuban is no different.

Cuban had an opportunity to invest in Uber in the early days but passed due to his unsuccessful investment in Uber founder Travis Kalanick's previous idea, Red Swoosh.

With Uber blossoming into a multi-billion dollar business, Cuban lost out on enormous profits, and he has kicked himself over it. He also learned from it.

LESSON: Evaluate an opportunity on its own

Mark Cuban
JD Lasica / Flickr
Mark Cuban says the experience with Uber taught him to review each opportunity on its own merits.

"I turned down — well, I had a chance to invest in Uber and didn't," Cuban said in 2014.

"Probably my biggest mistake investing, but Travis (Kalanick) is a grinder," Cuban continued. "He works hard, he's smart and he's aggressive, and when you're aggressive sometimes, you know, you tend to be a little heavy-handed."

Cuban has learned to treat each opportunity individually, instead of lumping them in with past failures.

That gives him a clear mind with each prospect, and the ability to reason thoroughly before making a decision.

3. FAIL: The day the lights got shut off

Fuse box illuminated with a flashlight in case of power failure
Ralf Geithe / Shutterstock
Mark Cuban has experienced having his electricity shut off for nonpayment.

Despite now having a net worth of nearly $4 billion, Mark Cuban knows what it's like to have the power company turn off your electricity.

"Coming home and having the lights turned off because you couldn’t afford to pay the bills," he reflected, "it’s incredibly motivating and humbling."

He also has admitted that he's had his credit cards not only declined by also cut up right in front of him on multiple occasions. What was the lesson?

LESSON: Make a powerful comeback

LOS ANGELES, CA - Mark Cuban celebrates with Tyson Chandler #6 and Shawn Marion #0 after the Mavericks 93-81 victory against the Los Angeles Lakers in the 2011 NBA Playoffs
Danny Bollinger / Flickr
Mark Cuban says you only have to be right once.

Believe it or not, this experience is one that Cuban believes all entrepreneurs should have at one point or another.

He thinks that the shame and pain of these seemingly colossal failures are great motivators that can lead an entrepreneur with the right mindset to come back bigger and better than ever.

Ultimately, being able to rally back from failure is what separates the success stories from the people who never make it.

2. FAIL: His forgotten TV show

via GIPHY

Many people know Mark Cuban as one of the stars of the popular reality TV show Shark Tank.

But earlier, he was on another TV show called The Benefactor. In it, 16 contestants competed for a $1 million prize, with Cuban serving as the judge.

The reason you probably haven't heard of the program is that it was a huge flop that was canceled mid-season. This, too, was educational for Cuban.

LESSON: Never give up

LOS ANGELES - SEP 23:  Sharks at the
Kathy Hutchins / Shutterstock
Mark Cuban is now a TV star -- on Shark Tank.

With Cuban, if you don't succeed at first, try again — and again and again. The Benefactor may have bombed, but now Cuban is a big TV success, with Shark Tank.

One failure doesn't make a person a failure. That only happens when you give up.

“It doesn’t matter how many times you fail," said Cuban. "Each time only makes you better, stronger, smarter."

1. FAIL: Saying no on Nash

Mark Cuban  Wizards v/s Mavericks 02/26/11
Keith Allison / Flickr
Cuban was frustrated over losing Mavericks star Steve Nash to Phoenix.

One of Mark Cuban's biggest failures was losing All-Star point guard Steve Nash to the Phoenix Suns.

Nash played for Cuban and his Mavericks from 1998 to 2004, but Phoenix made the star a better offer, and Cuban refused to meet it.

Not only did Nash play phenomenally well when he went to the Suns, but he also ended up being named league MVP twice. What did Cuban learn?

LESSON: Value your assets

Mark Cuban
JD Lasica / Flickr

Cuban mistakenly thought Nash was on the way down, which led him to allow the player to walk away.

"We thought his body would break down, and it certainly didn't. So bad advice, bad across the board," Cuban said years later.

The lesson is to always value your assets properly, and that includes the people working for you. The worst feeling is finding out too late how valuable somebody or something really was.

Now, stick around for one last, epic lesson.

FINAL LESSON: Don't let failure be fatal

via GIPHY

Mark Cuban's failures are no secret, and he's had many.

The consistent theme with all of them is that he never saw failure as fatal. Instead, each was an opportunity to learn and improve.

"I wouldn’t be where I am now if I didn’t fail — a lot," Cuban says.

"The good, the bad, it’s all part of the success equation," he says. "I really wouldn’t change anything at all."

Follow us on Twitter: @moneywisecom