Most women are born with a hymen
, a thin piece of skin that partially covers the vaginal opening or introitus. It has at least one opening. During first intercourse blood comes out due to its rapture. Sometimes it is thick which do not rapture during first inter course. Pain might be due to infection or other condition.
You should consult a Gynecologist.