There will always be someone smarter than you or who has more experience. They will tell you how it should be instead of what you did. Quite often this is useful if the person has already done what you did. Others just want to give you their opinion and should not be taken too seriously. Yet no matter how wrong you were, it is most important that you took action.
A lot of us just sit around thinking who is right and who is wrong. Don’t be that person.