It’s best to apply the aloe first, let it work its magic, and then rinse or wash it out in the shower. Once your hair is clean and wet, you can go ahead and apply the silicone serum before styling. Since silicones act as a protective barrier, any product applied after won’t penetrate as well, so the order you suggested works perfectly. You can also use aloe as leave-in as it works magic for some hair types but then it’s best applied without silicones. Not all routines need silicones so it's best that you try both options and see which one you prefer!