Ligament pain

When does the cramping stop? Or will it continue throughout the rest of pregnancy?