If you've just rolled out a brand new rug and it just has ripples from packing or shipping, usually, if you flatten it as flat as possible and let it sit for a day or two, the fibers will will stretch and the carpet will begin to flatten itself.