What can I do about pain of secondary dysmenorrhea?

Get a diagnosis. Secondary dysmenorrhea is a condition that requires a basic work up. The treatment will depend on the diagnosis. Meanwhile, provided you are not allergic, over the counter Ibuprofen or Naproxen sodium will help with the pain, specially when taken early.