Masterbate while pregnant?

Just found out I am pregnant with my first.

My husband is out of town and well...

is it ok to masterbate while pregnant?