"Bailed out" means he helped him out with a difficult situation, so his dad helped him out a million times before with his homework.
"jump right in" means to do something instantly
"department" here means area and is referring to how familiar he is with this.
"learnt his lesson" means as the dad has helped so many times before, he has decided not to help his son this time.
So, because his dad has helped him out lots of times before, this time his dad decided not to and instead it it up to his son to sort this problem himself.
I'm glad my answer helped you and you now understand it. Please book a trial lesson, I can help in daily conversation with grammar correction, vocab, spelling, punctuation in speaking, writing, listening and reading.