Birth control

I was just wondering how much the shot would cost me? And also do I need a doctor to give me an exam before I would be allowed to get it?