Android Question

my galaxy s2 has suddenly turned green on the bottom and black on the top and going fussy. i smashed it 3 weeks ago but has worked fine. i was on my phone and it suddenly went like this. what can i do to fix it?