Masterbation during pregnancy

Is it okay to masterbate during pregnancy