safe way to treat a severe toothache while pregnant

my top left molar hurts so bad its causing my ledt ear to hurt. im 24 weeks pregnant. will that cause it to be more difficult in treating it?

The most common cause of a toothache is tooth decay. Other causes may be an abscess, gum disease, a cracked tooth, or jaw problems. Treatment depends on the cause of toothache. See doctor.

Wrap an ice pack in a towel and apply it to the outside of mouth for 10 to 15 minutes every hour until pain subsides. The ice will reduce swelling and calm agitated nerve endings in aching tooth.