It is advisable to avoid speculation. If you decide to speculate, Benjamin Graham tells us to speculate only with a separate small portion of your capital. Don't risk money you can't afford to lose.
When you're investing for the long term don't speculate!
If you want to learn more check out these resources: