Hello and hope you are doing well.
The density in the pancreas can be a cyst, a lipoma, an abscess or a tumor. Depending upon the echogenicity, the borders and the shadows created a near correct diagnosis can be made with imaging studies. This is again correlated with blood tests. However, a confirmatory diagnosis is made with a biopsy.
A biopsy facilitates a histologic study of cells, which gives you a definite diagnosis. So once you have the diagnosis you will know what measures or precautious you need to follow.
Hope this helped and do keep us posted.