If the state passes a law you can challenge the law in court, ultimately it will be up to the Supreme court to decide if the law is constitutional. Mississippi had passed a heartbeat law and that was challenged and hence it ended up in the Supreme court.
The SCOTUS decision has had a trigger effect.
Roe v. Wade is overturned. What does that mean for abortion in Texas?
Texas was one of 13 states to already pass a "trigger law," making most abortions illegal if Roe v. Wade got overturned.
Can a Texas resident be sued for getting an abortion out of state? The Post answers questions about the ban.