A Lyford man is spending the next two years in prison after he was found guilty of sexting and having improper sexual contact with a teenage girl.