smooth out the peaks. You can sand or you can float the ceiling out to smooth the texture out. Sometimes sanding will work if there is not too many layers of old paint.
If you sand, be sure to use a good primer over the sanded work for good wallpaper adhersion.