Try cable tricep extensions. Make sure you keep your elbows locked though.
Also, if you have pain, maybe your tendons or ligaments can't support the weight that your muscles can? If not, make sure you don't have anything wrong with the area around your elbows. If nothing's wrong, when was the last time you took a little break from lifting?