My bf

I'm married left my husband because our daughter died and he cheated... My boyfriend wants me to get a divorce my husband wants me back but he's in the military. What do I do? I feel so stupid and lost