Density is defined as mass per unit volume. So, if you keep the volume the same and increase the mass, the density will increase.
For example, if you have a 1-liter bottle of water and you add 1 kilogram of salt to it, the volume of the water will not change, but the mass will increase by 1 kilogram. This means that the density of the water will increase.