Not sure what to do next

Yesterday I replaced the element in the dryer. It was broken. After replacing it the dryer work and I dryed I load of towels. When I went to start another load the dryer just beeps twice at me and does nothing. I thinking it is the door sensor?