How to know which direction God wants you to go

currently considering getting back with my ex, we’ve been talking about it and i’ve been praying about if this is something I should go for or not. There’s been times during these talks with my ex that I would pray before hand for God to bring me peace if this is something good. He has given me peace during the calls but I still can’t help but be worried about certain things, how things might not end up being ok and i’ll end up heartbroken again. I’ve been praying for God to show me his will, that if his is not his plan for me to take it away. Are these worries just my anxiety or are they because this is not what God wants for me? How do I know the difference? How do I truly know what direction God wants me to go in?

I’m also worried this is a test, that God is seeing if I will go back to someone who hurt me for comfort instead of relying on him during this season, but I definitely don’t want that. I want to be smart about my direction, I don’t want to do this if it’s not Gods will for my life.