Basically I dislocated my jaw yesterday and had to put it back in myself due to the pain it was out of place for about 3 minutes before I managed to pop it back. The discomfort around the joint is quite bad what should I take for it?

See a doctor. If you continue to have pain after it was reduced that mean there is something else is wrong like a broken bone or not completely back in place ,the best way to see a doctor. If your pain is not that bad and you can move your jaw freely without any pain take ibuprofen 600-800 mg every 6-8 hours with meals. Not better definitely see a doctor.