What not to put on a sunburn?

I’ve heard there are things to and not to put on a sunburn. I know one to is after sun which is aloe Vera but what can’t you put on?