Keeping a journal and writing down your thoughts and feelings could be a helpful tool in processing and releasing emotions, which may help reduce the frequency of dreams about the ex.