If your dependent variable is discrete, you should be using glm with a poisson model. You can use lm but you're obviously violating assumptions.
See example: https://stats.idre.ucla.edu/r/dae/poisson-regression/
And I concur with the post by TBSRounder.