It depends on the material. Resin storage units, whether it’s a shed or a box, cannot be painted. You can get paint that is specifically formulated to adhere to plastic, or use a plastic primer before painting, which prepares the plastic so paint will stick. Whichever product you use, check the production information to make sure it works for plastic.