For a digital image, what matters is its size in pixels and the size it will be printed at. Dividing one by the other gives the PPI. Around 300 PPI at the final print size is the usual target for sharp print; large posters viewed from a distance can use less.
On screens, the PPI value stored in an image file doesn’t change how it looks. A 1200 × 800 pixel image displays the same whether its file says 72 or 300. Only the pixel dimensions matter.
Example
To print a photo at 6 × 4 inches and 300 PPI, it needs to be at least 1800 × 1200 pixels.