Does my baby have colic or cow’s milk allergy?

Does my baby have colic or cow’s milk allergy? All newborn babies cry sometimes, with up to 2 hours