Help??

So um.. i had this dream with my best friend in it and we were doing intimate things he has and girlfriend and I have a boyfriend and yes we have had feelings for each other in the past but we decided that we were going to be best friends. I am friends with his girlfriend matter of fact we just hung out yesterday. He says things that I think he should be saying to his girlfriend and he tells me things that his girlfriend would have never even thought existed. My other friends tell me “y’all seem more in love that him and his girlfriend” and I do love him I do but I also can’t love him the way I want too because 1 I have a boyfriend and 2 I don’t wanna get hurt again. What should I do...?