Sex hurts

Why does it hurt a majority of the time during sex? The only position that doesn't cause that much pain is like missionary but that's kinda boring all the time and I like to switch it up with my boyfriend.. Is there anything I can do to make it hurt less?