Is this a new rifle or a well worn one?
Try different ammunition and see if the problem continues.
If switching ammunition does not work, clean the chamber thoroughly. Strip and clean the bolt and replace the extractor spring. Use a generous amount of lube on the bolt and bolt carrier.
Keep us posted on what remedies the problem.

