And, you've kept in touch regularly about this with your doctor?
Distraction, even if it's just focusing on your breathing while you keep it slow and even. Avoid dwelling on the pain. Worry and dwelling on pain often makes it feel worse. If you can develop an attitude of accepting and tolerating the pain for what it is, a transitory experience that will pass, that may help bring down your level of perceived pain being endured. Some people find that they can even embrace pain, and change their perception somewhat about it being very unpleasant.
Could the cause of your present pain be reduced through non-med methods? Perhaps through posture changes, padding supports, massage therapy, hot or cold packs.
I think you should not tolerate high pain levels for long periods (weeks) if there is a safe for the fetus solution available. High pain equals stress -- enduring prolonged stress is destructive to your body and may be harmful to the fetus.