take out the lens, blow a few times with a blower on the sensor, and take a shot to see if the spots are still there.
If yes, then take out the lens, check if any internal dusts on the elemnts.If no, then blow the front and rear element to make sure that it is clear of dusts and try again.