## Mathematica, 51 bytes

    #+1//.t_/;t~Mod~3<1||!IntegerDigits@t~FreeQ~3:>t+1&

<a href="https://tio.run/##y00sychMLv6fZvtfWdtQX1@vJF7fuqTONz@lztjGsKZG0TOvJDU9tcglMz2zpNihpM6tKDU1sM7Yyq5E21Dtf0BRZl6JgkOagyEXnGmEYBoiCyOJG1kisU0N/wMA" title="Mathics – Try It Online">Try it online!</a>