Throwing up while brushing teeth?

I had really bad morning sickness during the first trimester but now the only time I ever throw up is when I brush my teeth in the morning. I do it before I even eat breakfast so I have been throwing up stomach bile.

Does this happen to anyone else? How can I prevent it?