E.M.
The 5 year old just needs to know mommy went to the doctor. the 13 year old can know more (in fact if the 13 year old is a girl I would be explaining the whole thing as part of the birds and bees talk.) You can also just tell them that you don't feel well and you have medicine for it (I assume you still have pain meds.)