Pain with sex ?

Ever since last year I’ve been having pain with sex occasionally bleeding, it’s not every time I have sex it’s only once in awhile I have pain, I’ve been to the gyno couple times for it still trying to figure it out, it wasn’t right away when I started having sex only ever since last year, I’m on birth control if that affects anything, I’ve tried different positions and it hurts no matter what position