It could be a number of things Inc nappy rash or a uti.

If you are worried go get it checked out.

You aren't supposed to pull it back until they do it themselves