Thanks for your query,
It seems you are having severe gastrointestinal tract infection. High fever
are very dangerous for the baby and may lead to complications. Excessive movement is also a sign of distress.
You should take ORS
solution as much as possible to prevent dehydration. You may need antibiotics and antipyretics also. I suggest you to go to hospital early.
Take care and best of luck..
Hope it helps..