Whenbymistakenlyyouhaveformattedtheunwantedpartition,thenyoucanrecovertheformattedpartitionbyusingpartitionrecoverysoftware.

Please segment the words.
When by mistakenly you have formatted the unwanted partition, then you can recover the formatted partition by using partition recovery software.