I do have a barcode on my product and I do not know how much space do I need around it. Can you tell me?
These borders are called light margins. This white area must be wider than each white space within the barcode and also wider than each black bar in the barcode. So have a look at the wides black and/or white part and make the white border a bit wider than this. Then it should fit.