Has anyone read the actual decision. They did not say a president is immune from prosecution for anything he does.
"Chief Justice John Roberts, writing for the majority, rejected Trump's broad immunity claims and said Trump has immunity only for his "official" acts as president. The high court did not determine what constitutes an official act in this case, leaving that to the lower court."
Trump has some immunity in D.C. election interference case, Supreme Court rules: Highlights (nbcnews.com)