This can happen due to vaginal issues such as vaginismus where the vagina spasms during intercourse. This and other problems can lead to painful sexual intercourse or a burning sensation. It is best to consider a doctor instead of simply self-diagnosing.