edit data

hello everyone,i have a question i would like to ask,
i want to edit data in the postgresql, can then display it on the map right way, what i should do?
i use geoserver build a map server:(