Medication and vaginal dryness

Krichia
So I recently had a minor surgery and have been on pain meds for a couple weeks. Since then I haven't been able to get wet, regardless of how turned on I am. I think it's due to the medication, but I'm wondering if anyone else has experienced this? It's killing me!