Apparently it was in a ringworm medication he took:
San Diego Padres shortstop Fernando Tatis Jr. has been suspended for 80 games after testing positive for Clostebol, a performance-enhancing substance in violation of Major League Baseball's Joint Drug Prevention and Treatment Program.
Tatis' suspension, announced by MLB on Friday, is effective immediately, meaning the All-Star shortstop cannot play in the majors this year. In a statement, Tatis said he will not be appealing the ban as it was his "mistake" that was the cause of the positive test.
"It turns out that I inadvertently took a medication to treat ringworm that contained Clostebol," Tatis said. "I should have used the resources available to me in order to ensure that no banned substances were in what I took. I failed to do so.
"I want to apologize to Peter, AJ, the entire Padres organization, my teammates, Major League Baseball, and fans everywhere for my mistake. I have no excuse for my error, and I would never do anything to cheat or disrespect this game I love. I have taken countless drug tests throughout my professional career, including on March 29, 2022, all of which have returned negative results until this test.