The history points to acute on chronic due to repetitive injury to the immature connective tissue.Reason? Wrong muscles to exercise( Deep stabilizers,global stabilizers and global movers), when these 3 types are used wrongly, you are prone to injury.What you can do is to contact your physiotherapist who will assess your motor control and kinetic handling of deep neck muscles and so on.And please stop going to gym for now until you are advised by your PT.