IUD and masturbation...

So I got an IUD yesterday and the doc told me no sex for 4 days. What about masturbation? Can I use a vibrator?