Welcome to the "lens cap anonymous club". I use both SLR and RF. I'm getting better with RF to remember to remove the lens cap - but it still happens once in a while.
It's like anything else, as time goes by the "duhs" will diminish as it becomes second nature to either:
1) remember to check the lens first or,
2) take it off and leave it off when you're out shooting (this is easier in nice weather)
Good luck. RF is fun and remember - some the best composed shots are the backs of lens caps!