There are many things you can try that help your baby sleep through the night, but if your child is younger than four months old, I do not recommend any. His little body still needs to develop and adjust its internal clocks.
Remember that there is no magic food that will get your baby to sleep all night long. I know it seems like this period will never end, but I promise you it will. Making sure your baby gets plenty of satisfying food to eat is perhaps the single most important thing you can do to get your baby to sleep through the night.