Sounds like a minor muscle pull. See a doctor. If you can't or won't see a doc, you'll probably find the pain is gone in a week or so.
You probably started too heavy and were sloppy. Happens a lot to guys training on their own. Find a competent coach.