Pregnant and vibrator

Hi 
Is it ok to use a vibrator while pregnant ?