If you cut the plug out of the body nicely you should be able to glue it back in to look like it originally did.
If you're talking about getting the the 'neck' to go back into the head then it helps to warm up the pony with hot water or carefully with a heat gun to soften the plastic enough to be able to pop the head back on.
If neither of those are your issues then I'm a bit confused.