MADRID (AP)Rafael Nadal wasn’t losing any sleep after his loss to Carlos Alcaraz in the quarterfinals at the Madrid Open.

His focus hasn’t changed. It’s still all about getting ready for the French Open in a few weeks.

”I accept this loss naturally and with tranquility,” Nadal said after Friday’s three-set defeat. ”I’m know the path I have to stay on so I can arrive (in Paris) with real options in two-and-a-half weeks’ time. That’s what I’m working on right now.”

Nadal came to Madrid without being able to prepare properly because of a six-week injury layoff. He said ideally he should have skipped the tournament but in the end was happy with how it turned out.

”I have done what I could,” he said. ”I have had better days, worse days. But it has not been a disaster in any case. I have competed with the correct attitude. I have played two, two-and-a-half hours, nearly three, I think three matches, this is a positive outcome.”

The 35-year-old Nadal was trying to win his sixth Madrid Open title. He opened with a straight-set win over Miomir Kecmanovic then needed to save four match points to get past David Goffin in three sets in his second match. He was overpowered in the quarterfinals by the 19-year-old Alcaraz, one of the hottest players on tour this year and considered by many in Spain as Nadal’s successor.

”I was out there with the correct attitude and analyzing every single morning what I had to do to generate options for myself and to improve,” Nadal said. ”It’s clear to me what I need to improve. Now is the moment to work and to be confident that things will evolve in the right way.”

The 21-time Grand Slam champion said he has fully healed from the rib stress fracture that kept him from playing in Miami, Monte Carlo and Barcelona. The fourth-ranked Spaniard was off to a great this season start before getting injured, having won three titles, including the Australian Open in January.

”Some days the injuries don’t allow you to do the right things correctly to improve your game,” he said. ”You have to prioritize your physical evolution.”

Nadal, who also won tournaments in Melbourne and Acapulco this season, will next play in Rome, where he is a defending champion after beating Novak Djokovic in three sets last year.

After Rome, Nadal will try to win a record-extending 14th French Open title. He lost to Djokovic in four sets in last year’s semifinals in Paris.

The tournament at Roland Garros starts on May 22.

”Just looking forward with optimism,” Nadal said. ”We will see what happens.”

More AP tennis: https://apnews.com/hub/tennis and https://twitter.com/AP-Sports

Tales Azzoni on Twitter: http://twitter.com/tazzoni