For example if i bend my arm the biceps contract and triceps relax but if I bend my arm and the triceps contract instead of biceps what effect would it have?
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
This can be termed co-contraction of antagonist muscles, and it can occur in several pathologic processes. It essentially results in a spastic state.
Yelnik et al. describe the state as:
Spastic co-contraction is defined as an "unwanted, excessive, level of antagonistic muscle activity during voluntary command on an agonist muscle, which is aggravated by tonic stretch in the co-contracting muscle" (2, 8). Spastic co-contraction in patients with spastic paresis is a descending phenomenon, most probably due to misdirection of the supraspinal drive. It may be facilitated by increased recurrent inhibition, causing loss of reciprocal inhibition during voluntary command (2, 9).
For example, this can occur with perinatal brain damage. See a study by O'Sullivan et al. titled "Abnormal development of biceps brachii phasic stretch reflex and persistence of short latency heteronymous reflexes from biceps to triceps brachii in spastic cerebral palsy."
The state of co-contraction can be produced in healthy individuals as well, and studies on joint biomechanics under these conditions have been done. See Wise et al.