What should I do development/management?

I completed my graduation four year ago in computer science but I got a job in factory as manager so I started doing that job and time passed very quickly. So in someway I get rusted in computer science skills. From the beginning of this year factories are shutting down and laying off their employees. I lost my job as manager and there is no job in market tight now. So I applied for internship in software house and they selected me but my performance were very poor. I didn't perform well. Right now I am 28 what should do? Should I go for programming or management. I am working on my programming skills and import it but I don't know how much time it will take to improve. please give your suggestions. some people in organization said u can't be programmer at this age
What should I do development/management?
Add Opinion