That's right, that's the best way to afford to pay toward your student loan.
Great. But what happens if at some point I  can not do the payments?
The best thing you can do is contact your loan servicer immediately for help.