Hi, there are many causes of pain in wisdom teeth like decay, irritation from opposite tooth, infection in the gum surrounding the wisdom tooth and many more. The best treatment for wisdom tooth pain is its removal. But as you are six months
pregnant, presently tooth removal is not advisable. It would be best to visit your dentist and get minor symptomatic treatment done. For temporary pain relief, take a painkiller like Paracetamol 650 mg and visit your dentist as soon as possible.
Regards