Love&sex

Im in a relationship and me and my boyfriend tried having sex 3 times already and its just not happening. Every time he tries to go in it really hurts so is that a bad thing?