Babies communicate by crying and there is always a reason.
Yes, some physical discipline could possibly set it right.
If your 8-month-old baby is crying “all of the time”, it’s possible that your baby has colic. I strongly suggest that you take your baby to see their doctor, asap.
Do you have an older family member to help you? Maybe you need some advice. Don’t be ashamed to ask for baby advice!