As a youth player, Pech joined the youth academy of Czech side Admira Prague. Following his stint there, he joined the youth academy of Czech side Slavia Prague in 2013 and was promoted to the club's reserve team in 2023, where he made thirty-seven league appearances and scored four goals and helped them achieve promotion from the third tier to the second tier.[1]