You don't. If you did not work and earn income from working, then you cannot get any credits for having a dependent.
You can’t get any credits if you have no earned income.