You asked

I need to know if it is right to fight in front of our child

What to you and your spouse is a “normal” argument, to your toddler and bigger child, it seems like the end of the world. The two people that your child loves most in the world are really angry and shouting at each other and it is scary! Your child might even think that he is to blame for you and your spouse fighting.
Even if you and your spouse make a habit to fight in private, away from your child, the tension in the atmosphere will definitely be felt by your child and be just as scary to him. The best thing to do with toddlers and small children is, once you and your spouse are done fighting, then make a point of reassuring your child that you still love him and each other as well.
Small children do not have the emotional capacity to deal with their parents fighting. All they know is that mom and dad are supposed to love each other, so why are they being so ugly towards one another? They just do not understand that sometimes people, even those who love each other tremendously, do have differences and do argue about them - to the small child it is simply very frightening.
However, it has also been found that children who have not witnessed their parents fighting have been totally devastated when their parents decided to divorce. The children were absolutely unaware that there was any disharmony between their mother and father. To the children, their family life was perfect. When the parents finally divorced though, that perfect life fell apart at the seams for the children.

More questions

Being sleep deprived does not make for a happy relationship. If you’re suffering from lack of sleep, there are a few things you can try.
It is very important that you do not use sleep remedies, including the herbal variety, before talking to your doctor - they could have an adverse affect if you are breastfeeding.
When the argument you are having involves your children, it is a much better idea to have this fight behind closed doors, away from your children.
Making sure your newborn stays healthy and happy is as much about common sense as it is about care and washing hands is one of the simplest ways to ensure it.
If you find that you and your mother are locking horns over child care issues then it’s time to assert your wishes.
Most people agree that fighting in front of children is inappropriate. However, many people also agree that, as long as your child is brought up in a loving, warm, free home, they will learn that the occasional disagreement between their loving parents is simply a part of life.
If your child is big enough you might consider a star chart for good behaviour. Each time your child goes to bed without any trouble, he or she gets a star. If at the end of the week he has seven stars on his chart then he gets a special treat.
Choosing to change child care after your parents have been looking after your child for months or years can be a delicate subject but, handled correctly, it can be done.
The right amount of sleep differs from individual to individual and even between cultures.
Negotiating the changes in friendships that a child brings can be tricky for any new mom, but it is possible.