2 year old gas chicken pox

Samii
Hi ladies my 2 year old hs just came out in chicken pox and im due to have a c-section on monday he is currently staying at my mams whilst this has came up ive been around him for an hour today. will i be infected if i had them when i was younger or will they harm my twins? tia x