If you're not at the match you can't substitute players. If one gets injured then it'll be subbed automatically with the most appropriate player on your bench, but poor performances or sending off won't be dealt with automatically.

What you're looking at is to do with association matches. You can loan your players to others teams, and if guess that's how you determine who plays if one of your first 11 has gone out on loan.