Some great activities for 5 month old are sensory play. Babies also love music so you can plan something with that, sing to the baby or play some music on tv.
Try establishing some boundaries first. Try not to scream at them or get mad because that will only make them defy you more. I think talking is the best way to solve problems and establishing rules and that there are consequences for their actions.