If there is pain, there are chances of deep decay. Tooth may require RCT.
Filling and scaling can be done anytime. No harm.
If its RCT then get it done in 2nd trimester, which you already are in. Get your gyneac's consent.
Next Steps
Visit dentist for clinical examination.
Health Tips
Stay away from x rays.
Do not try any home remedies.