Summarize this article:

If dietary changes and movement don't relieve your baby's constipation, schedule an appointment with her pediatrician. The doctor can diagnose the problem and offer alternative dietary or medical treatments. Sometimes your baby's doctor may prescribe medications such as MiraLAX or Lactulose for constipation. These medications bring fluid into the colon to make the stools softer and easier to pass. Provide your doctor any relevant information necessary to diagnose and treat the problem. Let him know about dietary changes and what measures you've taken to relieve your baby's constipation. Ask any questions you may have about your baby's constipation, treating it, and preventing future bouts. If your baby hasn't pooped in a few days, try a glycerin suppository. Inserting one in your baby's anus may help quickly relieve constipation. Be aware that glycerin suppositories are only meant for occasional use. Get the suppository at your local pharmacy. These are available without a prescription. You can also get liquid glycerin, which you can drop into your baby's rectum. Make sure you are using the right type and size for your baby's age. Insert the suppository as far into your baby's rectum as you are able. Hold the baby's buttocks together for a few minutes while the suppository dissolves. Make sure to talk to and comfort your baby so that she doesn't get scared when you're inserting the suppository or holding her buttocks together. There is conflicting information about using anything other than glycerin suppositories to relieve infant constipation. Talk to your doctor about whether other medical constipation relievers are okay for your baby before using them. Some doctors may suggest giving your baby corn or Karo syrup to relieve constipation. This product has a similar effect to eating fruits or fruit juices. Try giving your baby 12 tablespoons of either corn or Karo syrup every day to relieve constipation. Flax oil may help relieve your baby's constipation. In addition, it can facilitate the absorption of vitamins and nutrients your baby may be losing as a result of the constipation. Give infants one teaspoon of flax oil every day for constipation.
Talk to your doctor. Insert a glycerin supplement. Be cautious with mineral oil, stimulant laxatives, and enemas. Spoon-feed corn or Karo syrup. Use flax to ease intestines.