While it's generally safe to apply sunscreen over a temporary tattoo, it's recommended to avoid excessive exposure to sun or water to prolong the lifespan of the tattoo. If you need to apply sunscreen, make sure to do it gently and avoid rubbing directly on the tattooed area.