After filling up my car sputters and stalls 2-3 times

to add on to twotone here when i first brought it to the dealer they did a diagnostic and i came up that my gas cap was not on tight, so 3 days later the light came back on, so went and bought another gas cap and reset the switch my self, the next morning the light came back on