Os is Operational System... I mean, which Windows do you use? (95/98/Me/2000/XP). Probably, you have XP...
But, can you boot in safe mode? (press F8 while booting).
Choose 'Safe mode' of botting and then try to uninstall the application that is bringing problems. I can't imagine it is avast but you can try.