Time to leave (advice or encouragement)

been with my husband for six years. he's just too immature, anytime he gets tired of me he cheats. we were in love and it was fun for a time, but not anymore. I need to leave him, but im terrified of being alone. How do you be happy alone?