arduino due is not working

hello,
i got a arduino due from a friend and after uploading 2 scketches it does not get reconised by the computer anymore. does anyone know what i can do? when i plug it in the 2 light stay on all the time. the 2 button method did not word.

i hope someone can help.
it is a due r3 e