I am a huge fan of group exercises; it gives me a feeling of being part of something and motivates me to continue. Especially when I am doing HIIT workouts.
But sometimes doing something alone is equally important.
You need to know what your personality is and instead of changing yourself and you leverage that.
If you are oriented more towards people, go to more group activities otherwise, get yourself a personal trainer and go alone.