I read this story sometime in the '90s in an old magazine so it's certainly written no later than late '80s, probably even earlier.
I recall that it begins with the protagonist being punished for some crime by a person coming to his house and placing a mark on his face (I think it was on the forehead) that would mean the protagonist would be completely ignored by everyone who didn't have this mark, under the fear of being punished themselves. The punishment was supposed to last for a year.
I remember that at some point during this protagonist had appendicitis and had to find a doctor who would treat him. The story is mostly about him trying to survive this year and trying to force someone to interact with him.