A lower bound for the first Zagreb index and its application