A quest asks me to do a research but I do not want to advance to a new era.

For some quests you have to do a research. Advancing through ages is one of the most important parts of Forge of Empires, so from time to time there will be quests asking for it. Of course you can decide that staying in the current era is more important that completing the quest and just ignore it.