How to get back the folders on phone if my phone is reset

Hi,

i just formatted my phone and my data is already synced with syncthing. Now to get all the files and data as previously it was on my phone what to do? if i open syncthing now it shows no folders that were on my pc.

As you probably did not backup the Syncthing config, your Phone has a new ID and you have to connect your other device(s) to the “new” phone device and then share the folders with that device.