Help displaying numbers on 7 segment display

Sorry, will post code up shortly, there are several modules to program so not quite sure how to do it