TL;DR: For print, set 300 DPI at the final physical size. For screen-only work ignore DPI and set pixel dimensions to your output size, typically 1500 to 3000 pixels on the long edge.
Resolution confusion wastes more work than any other Procreate topic, and it clears up once you separate two ideas.
Step 1 Separate pixels from DPI
Pixels determine how much detail exists. DPI is metadata instructing a printer how densely to place those pixels on paper. Changing DPI alone adds no detail and does not affect memory or layer limits.

Step 2 For print, decide physical size first
Multiply inches by 300 to get pixels. An A4 print at 300 DPI is roughly 2480 by 3508 pixels. Posters viewed from a distance can often be produced at 150 to 200 DPI without visible loss, saving substantial memory.

Step 3 Add bleed and check colour expectations
Include the bleed your printer specifies, commonly 3 millimetres per edge. Confirm colour handling too, since Procreate works primarily in RGB and converting to CMYK later will shift saturated colours.

Step 4 For screen, ignore DPI entirely
Set pixel dimensions to what the platform displays, with headroom for cropping: around 1080 by 1350 for an Instagram feed post, 1080 by 1920 for a Story, and 2000 to 3000 pixels on the long edge for portfolio images people may zoom into.

Step 5 Check the layer limit before starting
Look at what Procreate reports for your chosen canvas. Discovering you have twelve layers available halfway through a painting is painful and avoidable.

Step 6 Work larger only when you can afford it
You can always downsample cleanly but you cannot invent detail afterwards. Downsampling also hides small imperfections, which is why many illustrators sketch generously and export smaller.

Step 7 Produce both versions from one master
If you need print and web versions, paint at print size and export a reduced copy for screen. Never upscale the web version hoping to recover print quality.
