Lots of babies pass wind with stool and even otherwise. It is possible that until they pass wind they experience some amount of discomfort and may become restless and start crying. The safest thing to do is to carry the baby on your shoulder in an upright position and walk around with the baby. This usually settles them down. There are many supposed remedies for colic and wind. How much they actually work we don't really know. But we do know that carrying a baby around and rocking it does comfort them and therefore I would suggest that you to try that.