To simplify even more, both the Earth and your head would eventually collapse due to gravity if it weren't for electromagnetic forces pushing the atoms apart. I would be in free fall towards the Earth's center right now if it weren't for the atoms in my couch pushing the atoms in my butt upwards.