What can I do?

My ears infected. It comes and goes from swelling up to being normal. I’ve almost come to the point of taking it out because it hurts. I don’t want to take it out though because I paid for it with my own money. What can I do to take care of it and make sure it’s not infected. I’ve also had it for 10 months.

*sometimes there is puss and right now I can’t move it at all*