Bledding during sex

So i havent been a virgin for a while but i always bleed when i have sex. It is also very painful. What should i do? Is it bad?