My doc gave me a trick that prevents the rebound effect of Afrin (and other addictive vasoconstricting sprays). When you start the Afrin, or about a week before you want to stop it, start using a nasal steroid spray (nasalcort or whatever you prefer). The steroid will prevent the swelling and itself has no rebound period. After a week after stopping the Afrin, stop the steroid as well, and you will successfully be congestion free the entire time.
I prefer this to pseudoephedrine as it’s not a systemic solution to a local problem in the nasal cavity.