Toothache

Queen
I've never had any dental problem & now I have the worst teeth ever. I feel like my wisdom tooth is trying to grow on the other side I feel like I have a cavity & need a fill in. what can I take for the pain? Will my dentist do any dental work while I'm pregnant?