It sounds like you have dust on the sensor. If your camera has a dust removal function, run it a number of times and check if the dust is gone. If not, then the next step is a rocket blower like this one - it can remove most dust specks:
Giottos Rocket Air Blower - (Large) 7.5"
The camera manual explains the sensor cleaning process (how to flip the mirror up and keep the shutter open) so that you can blow the dust off. Only use a blower as shown,
never compressed air from a can. The latter would leave residue on the sensor and then professional cleaning will be required.
If the blower cannot do the job other methods like wet cleaning are available, or you can have a camera repair shop clean the sensor.