Get a medical checkup first.
Find out what's stopping you from losing weight.
If there's nothing wrong, just eat less... and spend less time on your pc.

Losing weights needs descipline if you have it the rest is easy. Because doing exercise and diet is the big factors to easily loss weights. But you need effort and sacrifices specially eating those favorite foods that you use to eat.