Pain during sex

Whenever I have sex with my boyfriend I feel pain around the opening. It's like a burning sesation and is very unpleasant. What could be wrong?