Painful sex

My LO is 3 months old and I am experiencing pain/soreness/burning feeling during intercourse. It isn’t just dryness (that may be a factor though) because it doesn’t hurt at first and lube does not seem to help. Is this normal? How long should it last?