WebMD explains that diphenhydramine's main purpose is to provide relief from symptoms like allergic ... drug (NSAID), ibuprofen helps reduce pain, according to the Mayo Clinic.