1999 Chevy Silverado 5.3

I have a 99 Chevy Silverado 5.3 .When it is cold it will crank fine but when it sits for ten too twenty minutes it’s hard to crank