Do you have an academic adviser? What does he suggest? I've no idea what a "module" is but if you are saying that you flunked a bunch of courses in your major then you are in a difficult position.