Miscarriage pain meds

Hi! I’m 5 weeks pregnant and while I shouldn’t think about this, part of my wants to be prepared if I have a miscarriage as I’m a bit older. I have heard a miscarriage can be very painful and wondering what pain meds work for people? Advil doesn’t seem to do much for me. Thanks