Question: can the supreme court overturn a previous ruling

Answer: Yes, This is a list of decisions of the Supreme Court of the United States that have been explicitly overruled, in part or in whole, by a subsequent decision of the Court. It does not include decisions that have been abrogated by subsequent constitutional amendment or by subsequent amending statutes.