Anxiety could be the culprit here. In initial stages of sex life, there is intense anxiety. Apprehension, fear, etc ofthen creates burden on the individual which can lead to performance anxiety. With suitable medications and instructions it can be completely cured.
Next Steps
For more specific answer and advice regarding the management you can consult with me directly here on practo.