Masturbation/ Placenta Prevaria

So I was recently told by my doctor that my placenta is 2 cm away and that night before I masturbated, I was unaware until informed by my OB. She told me to avoid sex in the meantime until I’m cleared. I’m 21 weeks pregnant and I have my follow up appointment in 2 weeks.

Will masturbation affect anything? I haven’t experienced anything severe. I feel quite fine actually. Im just scared that I shouldn’t have masturbated.