To take care of a portulaca plant, provide it with full sunlight (6-8 hours a day), well-draining soil, and water it moderately, ensuring the soil doesn't become waterlogged. Fertilize the plant in early spring and mid-summer if needed, and prune it when it starts looking leggy.