The common idiom baptism by fire is a phrase that refers to a challenging situation that you encounter for the first time, and it usually tests your abilities or endurance.
This could be from a new job or role that’s relatively new and doesn’t let you ease into it. It’s kind of like getting a crash course in something.