Dark spots inside the mouth such as you mentioned can be caused by something minor such as biting the area (lol) or an amalgam tattoo (imprint from a filling), or something major such as melanoma (especially if you have any congestion or a runny nose). As well, dark spots in the mouth may be an indication of a systemic disorder.
In ALL cases it is said that you MUST see a doctor!