Pain ontop of head. Right side. Scalp. Earrache. Hot feeling all over. Restless.

Cannot say. without an examination, and an ear infection certainly can cause those symptoms and would strongly benefit from examination and antibiotics.