Try working with someone who motivates you. Do some pair programming. You might want to go out, work from coffee shops and probably get a gym/swimming subscription too.
The key of beating procrastination is keep your day eventful and focussed on tasks you have to do.
The key of beating procrastination is keep your day eventful and focussed on tasks you have to do.