Ii have a thing on my nipple that looks like a buig pimple and its yellow?

Sse doc. It may represent cyst, but there are other possibilities. It can be diagnosed and easily removed if appearance disturbs you.
Don't pop it! This could be a cyst or other growth. Have it evaluated.