When you get the spray foam insulation job done, usually smell stays four to five days. Let fresh air flow in the area of foam insulation. Also ask the contractor if he has quick solution.