If you have mpox, you know that you're in the clear when your lesions have healed and the scabs have fallen off. That's the best way.
Rather than giving a timeframe, it's more important to say, even the scabs could potentially transmit the virus, so you want to be completely healed and then your risk of transmission goes away.
Enter your ZIP to find STD testing and treatment near you. All STDs are treatable and many are curable. Vaccines are also available for mpox, HPV and hepatitis A and B.