Restore the partition Table BBB

Hi,
I expanded my 8 GB microSD card . But after rebooting it does’t boot from microSD card.
Please help me how to restore the partition table & expand it again
With best regards
Rishi