As you work on your issues in therapy, and learn new coping mechanisms, it will start to happen naturally for you as you are ready for it. You don't want to force it too much, because the world looks very different when you start dissociating less. It's a bit harder to handle sometimes!

It'll come as you are ready. There are also "grounding techniques." When you get the point where you can recognize that you are dissociating, you can use these techniques to help you not dissociate. One that I use is to focus all my attention as intently as I can on what is happening around me. I look at the people who are talking and I try very hard to be actively engaged in the conversation. I look at everything around me. I think about what my body is feeling: is my heart beating fast? Do I have a stomache ache? Things like that. I can't think of any others just off the top of my head. Maybe someone else will know some. And you could ask your T about it. I started using this one a couple of months ago. My T told me to try that, because I had finally been able to recognize when I was dissociating. I tried it after cutting myself, because I could tell I was "fading" sort of, you know, not connecting. It worked very well for me then.

Good luck
-comfort the disturbed and disturb the comfortable-