How do you get rid of scalp pimples and little red bumps there?

I think it best to. Be sure of the cause. These lesions need to be visualized & a history needs to be obtained in order to make an accurate diagnosis. Sometimes lab testing or biopsy is necessary.
Folliculitis. This is folliculitis. You can try a antibacterial cleanser but usually prescription medication is needed. Make sure you avoid oil on the scalp as this can contribute to the condition.

Related Questions

What shampoo can get rid of these red bumps (pimples?) on my scalp?

No way to know. Without a diagnosis cannot suggest therapy, and cannot make a diagnosis without seeing these lesions. See a dermatologist.

I have red bumps on my face post acne. They are not painful and have been around for quite a while now. What are they? How do I get rid of them?

Hard to say. You need to see a dermatologist to know what these bumps are. They may be scars from your acneand sometimes injections with cortisone into the scars can help them.