Painful sex?

Sex was never painful for me, sometimes after meeting my bf after a long time it would hurt at first when putting it in then it would be fine, but recently, after sex i bled a bit and since then sex has been painful and sometimes i bleed a bit. The longer we have it for the less it hurts, but we really have to ease it in or im in pain, why is this happening it never has before?