it is caused by prolonged use of computer or thumb and index finger as in improper position of arm and wrist can result in mouse elbow.
Application of ice pack, anti-inflammatory drugs, wearing wrist braces, stretching and strengthening exercises when the pain subsides and modification of the way you click mouse goes a long way in avoiding further injury and treating the present symptoms.