It sounds like you have either Vaginismus or Vestibulitis. I agree that you need to see a doctor, but most regular doctors and gynecologists aren't very good at diagnosing or treating pain with intercourse. You need to find a gynecologist that specializes in treating sexual pain. There are a lot of treatments, including relaxation techniques, use of dilators, physical therapy, even surgery or Botox injections.
There is hope out there. Until you get this properly diagnosed, find other ways to be intimate. Mutual masturbation, oral sex, or other intimate activities can be very satisfying for both partners. Don't let your marriage become "sexless" because you can't have intercourse. You can keep the romance, intimacy, and excitement alive anyway.
I would also advise not to force things. Don't think you can just push through the pain. You can actually make things worse because you will start to anticipate the pain, which just makes your muscles contract even more painfully. If you want to try when you feel you are relaxed and everything, fine, but stop if it hurts.
Also, I want you to promise me one thing: if you hear the words "all in your head" or anything like that, I want you to walk right out of that exam room. Because that is B.S. Yes, there are emotional and mental components to these problems, but to tell someone in pain that their symptoms are imaginary is unconscionable.
I wish you all the best. I really hope you can find a good doctor that can help you. Good luck.