Sex hurts

When my boyfriend and I start having sex it hurts some, because it feels like he is hitting something inside of me and afterwards I bleed some. What could be causing this and how can I make the sex more enjoyable?