Basically legislation. Dobbs just said there wasn’t a constitutional right, but that doesn’t mean there can’t be a federal law that makes that a right. A federal law could effectively restore this right (although it wouldn’t make it a constitutional right, which would be harder to take away).