C-section or vaginal

Is it worse having sex the first time after a c-section or vaginal birth? I had an emergency c-section for my first and postpartum sex was so scary for me because my scar hurt so much. I may try for a VBAC this time, but I’m curious if that’s even scarier for postpartum sex?