If the red spots are occurring exactly over where you previously had your ear piercings, it is possible that there could be a relation. However, I suspect that this are just pimples or other simple skin infections.
Pimples can occur on any part of the skin, including the skin of the ears. Similarly, folliculitis, which is an infection of the hair shafts, can also occur anywhere where there are hairs to become infected. Most of the time, these simple issues can be treated simply with good skin hygiene and antibacterial ointment. You should avoid picking or squeezing the spots as this is just likely to make the spots more irritated and inflamed.
As long as the spots resolve, I wouldn't worry
about them too much. However, if they are spreading or getting worse or if there is any pain or pus, you should go see your primary care doctor
or your dermatologist
. They will be able to take a look at the areas and help you figure out what exactly is going on. If any treatments are necessary, they will be able to recommend what the next steps will be.
Good luck with this issue!