I believe you are asking whether "We had to take" is a correct sentence. Please try to use quotation marks appropriately otherwise questions become hard to read.
"We had to take" is grammatically correct English but it is not a complete sentence. Something needs to follow "take". For example, "We had to take the exam", "We had to take the bus", or whatever.