Specifically using grep you'd need to pipe one grep to another such as say you want to find occurrences of 'car' but not 'racecar'
grep 'car' /home/user/somefile.txt | grep -v 'racecar'
It would be a shorter command if you used egrep but you'd need to understand regex expressions to make correctly.