Making adjustments to positioning and to the type of shorts can help; you may also benefit from using a good penis health cream (health professionals recommend Man1 Man Oil) that contains ingredients designed to help address chafing issues: shea butter and vitamin E, for example. Good luck!