A positively charged object will attract a negatively charged object. In contrast to the attractive force between two objects with opposite charges, two objects that are of like charge will repel each other.
Coulomb's law states that: The magnitude of the electrostatic force of attraction or repulsion between two point charges is directly proportional to the product of the magnitudes of charges and inversely proportional to the square of the distance between them. The force is along the straight line joining them.