First of all, you should decide whether you can afford a maid for your kids or not. If you can afford, then it is the best solution to your problem as the maid will take care of the child and you can do your home based work for earning money.
However, it you cannot afford a maid than it will become difficult for you to find time for doing your work comfortably. In this case, you should try to take care of your child by setting up his or her routine in a way that can earn you sufficient time for doing your work.
You should also set up a place where you can put toys for your kid because in this way he or she will stay busy in playing and you will be able to complete your work easily.
Make sure you have set up a separate place for your child otherwise he will keep interrupting you and you will not be able to stay focused on your work.
If your kid is older enough to understand you, then convince him or her that you have to work for earning money. Talk to him or her gently which will help your child to understand what you say.
You should make a schedule for working at home which does not clash with your kid’s playing time. Make sure you set up such time of work when your kid is sleeping.
If you have other family members at home then you can take their help by asking them to keep your child busy in playing. They will look after your child and you will be able to spend more time in working at home.