If a lady was to insert a type of medication or object into her vagina for treatment of an infection would this invalidate fasting. Does this also require ghusl after the object is removed?

The answer is No for both questions