What am I supposed to do when I get farmed?
Getting farmed is when one or more players attack you all day long.
Basics
The best defense: the Cranny or in the case you happen to be a Gaul, combine it with a Trapper.
Very cheap and almost every player has one. It saves you from losing everything. You should even build it when you are not (yet) farmed.
Always keep your Cranny as high as you need to save your resources. An overflow should not happen save the time when you are online.
If you get attacked by Teutons make sure that only 4/5 of your Cranny is filled by your stocks because Teutons have a raiding bonus allowing them to take 1/5 out of the Cranny.
The Marketplace
Resources you offer at the Marketplace will be plundered if the attacking troops have still enough room after emptying your Warehouse and Granary!
Psychological aspects
Knowing how to play is one thing but being good at diplomacy and strength of will is at least as important, especially for the defender.
Stay calm and friendly at all times!
Friends in the neighbourhood can be helpful
Defend yourself creatively
Think about possible consequences
Don't sulk if you lose
At the beginning the farmer just wants your resources. If you start insulting him, he'll be after your head and the situation will become worse for sure.
Strategies
The goal of every strategy has to be the fact that the attacker does not get anything, rather lose something when he attacks you.
The meanie
The Cranny is your main "weapon". Get it high enough that even a Teuton won't get anything after you have been off-line for half a day.
Build something
Send your resources away
Keep in mind that the Teutons can empty 1/5 of your Cranny. If he gets anything at all, he'll be back for sure.
The hedgehog
Save your resources via "The meanie" in addition you build a decent defence (combat simulator!) which is sufficient to take out the raiding squad.
Diplomacy