So long as you're zoned residential, meet the minimum lot size required by your zoning ordinance n your zone, and comply with any local subdivision regulations (including proper setbacks, etc.), you should be within your rights to build a house on your lot. You'd have to have proper well and septic permits too.
DISCLAIMER: Brandy A. Peeples is licensed to practice law in the State of Maryland. This answer is being provided for informational purposes only and the laws of your jurisdiction may differ. This answer based on general legal principles and is not intended for the purpose of providing specific legal advice or opinions. Under no circumstances does this answer constitute the establishment of an attorney-client relationship. For legal advice relating to your specific situation, I strongly urge you to consult with an attorney in your area. NO COMMUNICATIONS WITH ME ARE TO BE CONSTRUED AS ARISING FROM AN ATTORNEY-CLIENT RELATIONSHIP AND NO ATTORNEY-CLIENT RELATIONSHIP WILL BE ESTABLISHED WITH ME UNLESS I HAVE EXPRESSLY AGREED TO UNDERTAKE YOUR REPRESENTATION, WHICH INCLUDES THE EXECUTION OF A WRITTEN AGREEMENT OF RETAINER.
If your zoning permits it, the well is not going to cause any issues for a downhill neighbor, or take water from a riparian stream or deplete groundwater and is not located within 100 feet of the septic tank, you should be able to do it. All this will depend on many factors, and generally the neighbors have a right to weigh in on the subject at a publicly noticed hearing. Are you concerned about one neighbor in particular? Are other neighbors on wells? Is there City water available? Without knowing more and not being a licensed attorney in your state, it's impossible to answer this question any more specifically.
This response is not to be construed as establishing an attorney-client relationship, and provides general information on the subject at hand only.
So long as there are no deed restrictions against your land, and you meet all the municipal requirements, you should only need a permit to build. But, the neighbor may still file an appeal to the issuance of the permt which may hold things up a bit and become expensive.