The way to deal with a dreamed of relationship difficulty or any past experience, it helps to work on integrating the influence left in you from the relationship with an ex or the experience from the past. See Inner Ex’s
It may also be a repressed drive or a shadow figure – all parts that have not be dealt with that need integrating. Try doing this by taking the dream images – like the person or situation and any beautiful or messy experience – and pulling them back into your body. Yes, literally making them one with you. Do this slowly and allow any feelings that arise. See
This may sound strange but all the images in your dream are projections from your inner world onto the screen of your sleeping mind; so taking them back into you is like owning them and integrating them. It is called honouring what you learned, bad or good, from the relationship. Think of it like digesting something. In a relationship you often absorb things from the person. You might take in such things unconsciously, as you did many things from parents and from the culture you were raised in.
And so when you digest it you can integrate the parts that are usable into your life and the rest is discharged as waste matter. See digest