Put a full can around the rim and let it sit for at least an hour to allow the acids in the soda to break down the stains. Use a toilet brush to scrub.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.