Greetings!
Your headspace system it's automated? The analysis it's from gc/ms or gc/fid?
It's dimethylsulfoxide or dimethlyformamide ? Dimethylsulfoxide is commonly expressed by DMSO. Either way i think the procedure will be the same for both.
If it's automated , remove the syringe, rinse the syringe about 3 times with acetone and 3 times with methanol. I reccomend a five minutes ultrassonic bath in methanol too, if you have this equipment of course. Put the syringe in the automated headspace and purge it for 5 minutes with nitrogen or other (cheap) gas that you use, run a blank.
if it's not automated, rinse with the solvents listed above about 5 times each. Wait the syringe to get dry and run a blank.
If in both cases you see something indicating contamination, consider change the septum and liner too.
t.b.