There might be a muscle tear. Can happen due to faulty warmup stretching exercises or due to over exertion. For the relief apply ice packs. Give rest to the part and take some analgesic with anti
inflammatory property you will recover. Hope this information is helpful. For further assistance can contact.