Jannik Sinner, the world number one and a three-time grand slam champion, will be out of action for three months after accepting a ban.