The "Shape of You" singer said he "wouldn't recommend" dealing with the painful viral infection.