If a company is performing well and if it runs in the profit then you can invest in its shares. But its hard to predict the share market. There will be ups and downs. So, you must be ready to face anything.