Use the XHTML validator at w3c.org to validate your code. If you don't know how to make the changes identified, you may want to pick up a book on XHTML or run a search. If you use Firefox, you may want to try "web developer" add-on which will give you links and tools for all sorts of things including validating several types of code including XHTML.
Brett