The Kern County Sheriff's Office is investigating a shooting in Lamont that left a man in the hospital with critical injuries.