have you tried anything round that part when she needs a poo to help with the pain...like sudocrem?? sorry if tellin you how to suck eggs.
if you can ask the pharmacy if they have anything to help.
xx
sorry forgot she wasnt 6 months....hasnet she had constipation for a while?? there must be a reason. if it carries on id take her the drs or back to them if shes been already xx