You might have a buildup on your scalp. Nizoral shampoo would treat any dandruff and get any buildup off.
I'm not sure what you mean about having a piece of hair that is out of place, but if it hurts badly, you can always call your doctor to ask what to do. Sometimes over the counter medications like ibuprofen can help with headaches. Hope you get some relief soon.