Spotting

Ive been spotting for 2 weeks. What is this? How do I stop it?