Question normal

My question revolves around what to do with the additional money physicians make once he/she has graduated to attending physician status. This process happens virtually overnight and being prepared for that new sum of money is important.
Is it better to invest some money (after maxing out 401K, IRA, and contributing to 529 plan) or pay off student loans as quickly as possible?? Assuming person was enrolled in 25-year income-based repayment