Growing with String of Pearls

I personally find it a little difficult to take care of. When I first bought it, it was triple in size. Now this is all that’s left. I don’t know how to take care of this plant. I’m worried about over and under watering