Whats the difference between a pimple or ingrown hair?

Amy
I have this weird bump right in the area where I shaved. I found it this morning and its red and it hurts. Is it a pimple or ingrown hair?