I'm two weeks pregnant and im having sharp pains that go away what's going on?

Pelvic pain. A corpus luteal cyst developes in early pregnancy and my cause some sharp pains. If pains don't go away, you'll need an ultrasound just to make sure you don't have an ectopic.