How to replace cluster node

We noticed some performance issue with our Mongo Atlas cluster, and after re-elect a new primary node, it is back to normal. May I ask how to replace that problematic cluster node (rn it is one of our secondary nodes) to a new one? (We are on M10 Cluster Tier)
Thank you!

May I ask if there’s any updates on this question? Thank you!