IUD and masturbating

I had my iud inserted 2 days ago. The doctor told me not to put anything inside my vagina for 3 days at least. I’m so horny and wondering if just rubbing my clit is okay as long as I don’t put a finger inside??