Painful sex

Is it normal for sex to kind of hurt when it’s deep, it’s completely fine in most positions but when it’s real deep it just hurts - like an uncomfortable pain & i was wondering if this is normal ??? Or i should go to a doctor or something?