To avoid this from happening in the future, here are some steps you can take to keep your rosemary plant healthy: 1) Give your plant an occasional drink of water. 2) Trim off any brown or wilted branches with kitchen shears every two weeks.