TMJ pain

I have pain right next to my ear and I know it’s because of my mouth joint, because the first time I got it confirmed with an ortho this the second time this sort of pain has happened and I don’t know how to make it feel any better, I’d say it’s been 4 or 5 days with this pain and I can’t really open my mouth. I know that I can take ibuprofen and all that but isn’t there anything else I can do?