Allyson Felix tore her hamstring in 2013 – but motivated herself to come back stronger after the injury
Credit: YJae C. Hong/AP

A career-sidlining injury may be an athlete’s worst fear, but, with motivation, you can come back stronger, says Olympic sprinterAllyson Felix.

The 30-year-old tells PEOPLE that after tearing her hamstring in 2013, she had to push herself – hard – to recuperate and get back to the track.

“I think you will always have doubts of if you’ll be able to get back to where you were and even be better than what you were before,” says Felix, who will be competing for Team USA in Rio next month. “Going through that injury has definitely taught me to really cherish the gift. You never know when it’s going to be your last race or if you won’t be able to do what you love again.”

Having her close-knit family – including mom Marlean – by her side, helped.

RELATED VIDEO: If You Want a Body Like an Olympic Athlete, Then You’re Going to Want to Try This Killer Workout

What else gets Felix ready? A little Queen Bey. Specifically, the pop star’s 2008 tune “I’m a Diva.”

“I’m totally not a diva away from the track,” she tells PEOPLE, “but when I step on the track, gotta kinda get that attitude going.”

For more of PEOPLE’s Olympic coverage, pick up our collector’s edition, The Best of the Games, on sale now.