Don't assume you're doing anything wrong. It is hard to know what to do when painful things come up. Recently, some issues came up for me regarding my brother, and I had no choice but to grieve for those things for two days, then I came back to my breathing.
It is hard to know whether to stick or twist in these circumstances. But I do know mindfulness is a very sound place to start.