Saving up for an emergency fund prior to making any significant investments allows you the opportunity to maintain good financial standing in the event your investments fail to yield favorable returns.
Another question in your mind could be which among the aforementioned is the most reliable method.