Dear member, the cause of your nervousness could be different. It need not be a maternity gap of two years in your career.
Your problem could be a lack of expressiveness. Other than in an interview, are you able to express a situation, an incident, or a story in a proper sequence or structured format?
To develop expressiveness, prepare yourself on a subject and express yourself solo. Tell some family members to take a video recording. Check your video. You will find your own mistakes.
Check the videos on presentation skills or read material on presentation skills. Implement it, and you will find a change in yourself.
By the way, you have not written your background. What kind of job did you do? Was there continuity in a particular field like HR, Purchase, Finance, etc., or was there variation? What kind of job do you wish to do? Did you gather information about your future role? Do you have the requisite skills to perform your future job effectively?
Nervousness could be the result of your lack of confidence. Lack of confidence results from a lack of competence. Therefore, develop the competence, and the nervousness will go away automatically!
All the best!
Dinesh Divekar